diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2007-01-15 13:41:04 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-01-15 13:41:04 +0100 |
commit | f11033e739017c5c4eac55f859b8b222ee8d602c (patch) | |
tree | 4b07b98f378e685c096937c2aeca06e006698af7 /cpu/ppc4xx/405gp_pci.c | |
parent | ddd4123336aad881f50dc34892ac150cfa8143fe (diff) | |
parent | ca43ba18e910206ef8063e4b22d282630bff3fd2 (diff) | |
download | u-boot-imx-f11033e739017c5c4eac55f859b8b222ee8d602c.zip u-boot-imx-f11033e739017c5c4eac55f859b8b222ee8d602c.tar.gz u-boot-imx-f11033e739017c5c4eac55f859b8b222ee8d602c.tar.bz2 |
Merge with /home/hs/SC3/u-boot
Some code cleanup.
Diffstat (limited to 'cpu/ppc4xx/405gp_pci.c')
-rw-r--r-- | cpu/ppc4xx/405gp_pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu/ppc4xx/405gp_pci.c b/cpu/ppc4xx/405gp_pci.c index 9b711e2..38a1305 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)) +#if !(defined(CONFIG_PIP405) || defined (CONFIG_MIP405)) || defined (CONFIG_SOLIDCARD3) /* *As is these functs get called out of flash Not a horrible @@ -406,6 +406,7 @@ 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)*/ @@ -413,6 +414,7 @@ void pci_init_board(void) hose.config_table = pci_405gp_config_table; pci_405gp_init(&hose); } +#endif #endif |