From 1a2334a4eb6386d7cd35d9de5fa39af2c764ad28 Mon Sep 17 00:00:00 2001 From: Yusuke Goda Date: Wed, 5 Mar 2008 14:30:02 +0900 Subject: 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 Signed-off-by: Nobuhiro Iwamatsu --- lib_sh/board.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'lib_sh') diff --git a/lib_sh/board.c b/lib_sh/board.c index 2cd60d76b..883c381e6 100644 --- a/lib_sh/board.c +++ b/lib_sh/board.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007 + * Copyright (C) 2007,2008 * Nobuhiro Iwamatsu * * 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(); @@ -140,6 +148,9 @@ init_fnc_t *init_sequence[] = sh_mem_env_init, #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, -- cgit v1.2.3