diff options
author | Yusuke Goda <goda.yusuke@renesas.com> | 2008-03-05 14:30:02 +0900 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2008-03-28 14:16:12 +0900 |
commit | 1a2334a4eb6386d7cd35d9de5fa39af2c764ad28 (patch) | |
tree | 3bdad7825893b07bfa8c24d77a35878a3af9cd56 /lib_sh | |
parent | b55523efff2ae11f0b9ae3cc405893c32eb78156 (diff) | |
download | u-boot-1a2334a4eb6386d7cd35d9de5fa39af2c764ad28.tar.gz u-boot-1a2334a4eb6386d7cd35d9de5fa39af2c764ad28.tar.xz u-boot-1a2334a4eb6386d7cd35d9de5fa39af2c764ad28.zip |
sh: Add support PCI of SuperH and SH7780
This patch add support PCI of SuperH base code and SH7780 specific code.
Signed-off-by: Yusuke Goda <goda.yusuke@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'lib_sh')
-rw-r--r-- | lib_sh/board.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib_sh/board.c b/lib_sh/board.c index 2cd60d76be..883c381e64 100644 --- a/lib_sh/board.c +++ b/lib_sh/board.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007 + * Copyright (C) 2007,2008 * Nobuhiro Iwamatsu <iwamatsu@nigauri.org> * * This program is free software; you can redistribute it and/or @@ -95,6 +95,14 @@ static int sh_marubun_init(void) } #endif /* (CONFIG_CMD_IDE) */ +#if defined(CONFIG_PCI) +static int sh_pci_init(void) +{ + pci_init(); + return 0; +} +#endif /* CONFIG_PCI */ + static int sh_mem_env_init(void) { mem_malloc_init(); @@ -141,6 +149,9 @@ init_fnc_t *init_sequence[] = #if defined(CONFIG_CMD_NAND) sh_nand_init, /* Flash memory (NAND) init */ #endif +#if defined(CONFIG_PCI) + sh_pci_init, /* PCI Init */ +#endif devices_init, console_init_r, interrupt_init, |