summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/405gp_pci.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@pollux.denx.de>2007-01-18 11:28:51 +0100
committerHeiko Schocher <hs@pollux.denx.de>2007-01-18 11:28:51 +0100
commitcb4820725e9fc409c5cbc8e83054a6ed522d2111 (patch)
tree52c0972ffd2bc7a66e229ebb9ebcff9d9cb248ff /cpu/ppc4xx/405gp_pci.c
parent6d3e0107235aa0e6a6dcb77f9884497280bf85ad (diff)
downloadu-boot-imx-cb4820725e9fc409c5cbc8e83054a6ed522d2111.zip
u-boot-imx-cb4820725e9fc409c5cbc8e83054a6ed522d2111.tar.gz
u-boot-imx-cb4820725e9fc409c5cbc8e83054a6ed522d2111.tar.bz2
[PATCH] Fix: Compilerwarnings for SC3 board.
The EBC Configuration Register is now by CFG_EBC_CFG definable Added JFFS2 support for the SC3 board. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'cpu/ppc4xx/405gp_pci.c')
-rw-r--r--cpu/ppc4xx/405gp_pci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpu/ppc4xx/405gp_pci.c b/cpu/ppc4xx/405gp_pci.c
index 38a1305..7134355 100644
--- a/cpu/ppc4xx/405gp_pci.c
+++ b/cpu/ppc4xx/405gp_pci.c
@@ -380,7 +380,7 @@ void pci_405gp_setup_vga(struct pci_controller *hose, pci_dev_t dev,
pci_hose_write_config_dword(hose, dev, PCI_COMMAND, cmdstat);
}
-#if !(defined(CONFIG_PIP405) || defined (CONFIG_MIP405)) || defined (CONFIG_SOLIDCARD3)
+#if !(defined(CONFIG_PIP405) || defined (CONFIG_MIP405)) && !(defined (CONFIG_SOLIDCARD3))
/*
*As is these functs get called out of flash Not a horrible
@@ -406,7 +406,6 @@ static struct pci_controller hose = {
config_table: pci_405gp_config_table,
};
-#ifndef CONFIG_SOLIDCARD3
void pci_init_board(void)
{
/*we want the ptrs to RAM not flash (ie don't use init list)*/
@@ -414,7 +413,6 @@ void pci_init_board(void)
hose.config_table = pci_405gp_config_table;
pci_405gp_init(&hose);
}
-#endif
#endif