From: Zhao Chenhui Date: Wed, 24 Aug 2011 05:20:24 +0000 (+0800) Subject: powerpc/mpc8548cds: Cleanup mpc8548cds.c X-Git-Tag: v2011.12-rc1~600^2~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=44d737111bed9b3b6a8c50fed05184e7a467b762;p=u-boot powerpc/mpc8548cds: Cleanup mpc8548cds.c Remove unnecessary or dead code/includes. Signed-off-by: Zhao Chenhui Signed-off-by: Kumar Gala --- diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board/freescale/mpc8548cds/mpc8548cds.c index 5ffae47d74..f70a97219b 100644 --- a/board/freescale/mpc8548cds/mpc8548cds.c +++ b/board/freescale/mpc8548cds/mpc8548cds.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include @@ -39,8 +38,6 @@ #include "../common/eeprom.h" #include "../common/via.h" -DECLARE_GLOBAL_DATA_PTR; - void local_bus_init(void); int checkboard (void) @@ -210,10 +207,6 @@ static struct pci_config_table pci_mpc85xxcds_config_table[] = { static struct pci_controller pci1_hose; #endif /* CONFIG_PCI */ -#ifdef CONFIG_PCI2 -static struct pci_controller pci2_hose; -#endif /* CONFIG_PCI2 */ - void pci_init_board(void) { volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);