diff options
author | Stefan Roese <sr@denx.de> | 2007-01-18 10:54:52 (GMT) |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-01-18 10:54:52 (GMT) |
commit | 0057d758e3e874cbe7f24745d0cce8c1cb6c207e (patch) | |
tree | 1c1b9ce7876b761f0d7e006b0f57aeb2571a50fe /board/prodrive/p3mx/sdram_init.c | |
parent | 34167a36c29ee946b727465db5c014746a08e978 (diff) | |
download | u-boot-fsl-qoriq-0057d758e3e874cbe7f24745d0cce8c1cb6c207e.tar.xz |
[PATCH] Update Prodrive P3Mx support
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/prodrive/p3mx/sdram_init.c')
-rw-r--r-- | board/prodrive/p3mx/sdram_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/prodrive/p3mx/sdram_init.c b/board/prodrive/p3mx/sdram_init.c index 176252e..0464860 100644 --- a/board/prodrive/p3mx/sdram_init.c +++ b/board/prodrive/p3mx/sdram_init.c @@ -65,7 +65,7 @@ int mvDmaTransfer (int, ulong, ulong, ulong, ulong); int memory_map_bank (unsigned int bankNo, unsigned int bankBase, unsigned int bankLength) { -#ifdef MAP_PCI +#if defined (MAP_PCI) && defined (CONFIG_PCI) PCI_HOST host; #endif @@ -80,7 +80,7 @@ int memory_map_bank (unsigned int bankNo, memoryMapBank (bankNo, bankBase, bankLength); -#ifdef MAP_PCI +#if defined (MAP_PCI) && defined (CONFIG_PCI) for (host = PCI_HOST0; host <= PCI_HOST1; host++) { const int features = PREFETCH_ENABLE | |