summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8360emds/pci.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-10-06 07:05:45 (GMT)
committerWolfgang Denk <wd@denx.de>2010-10-18 20:12:04 (GMT)
commit2ae1824196884ba2bafffb7c0d3e8297350591e9 (patch)
tree5af805bde716ea0438e9f39898e6cb4f7677f97a /board/freescale/mpc8360emds/pci.c
parent2bad5df7274dd2802ba9526ea7218e9c09d3f89c (diff)
downloadu-boot-fsl-qoriq-2ae1824196884ba2bafffb7c0d3e8297350591e9.tar.xz
Makefile: move all Power Architecture boards into boards.cfg
Clean up Makefile, and drop a lot of the config.mk files on the way. We now also automatically pick all boards that are listed in boards.cfg (and with all configurations), so we can drop the redundant entries from MAKEALL to avoid building these twice. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/freescale/mpc8360emds/pci.c')
-rw-r--r--board/freescale/mpc8360emds/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mpc8360emds/pci.c b/board/freescale/mpc8360emds/pci.c
index c3a8663..5466a08 100644
--- a/board/freescale/mpc8360emds/pci.c
+++ b/board/freescale/mpc8360emds/pci.c
@@ -122,10 +122,10 @@ void pci_init_board(void)
/* initialize the PCA9555PW IO expander on the PIB board */
pib_init();
-#if defined(PCI_66M)
+#if defined(CONFIG_PCI_66M)
clk->occr = OCCR_PCICOE0 | OCCR_PCICOE1 | OCCR_PCICOE2;
printf("PCI clock is 66MHz\n");
-#elif defined(PCI_33M)
+#elif defined(CONFIG_PCI_33M)
clk->occr = OCCR_PCICOE0 | OCCR_PCICOE1 | OCCR_PCICOE2 |
OCCR_PCICD0 | OCCR_PCICD1 | OCCR_PCICD2 | OCCR_PCICR;
printf("PCI clock is 33MHz\n");