From: Holger Brunck Date: Wed, 21 Mar 2012 12:42:44 +0000 (+0100) Subject: powerpc83xx/km: remove unneeded CONFIG_PCI for kmeter1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7ba1c870dae8a052b4978914fb72191788fa2ce8;p=project%2Fbcm63xx%2Fu-boot.git powerpc83xx/km: remove unneeded CONFIG_PCI for kmeter1 We don't use PCI on kmeter1 and never will be, so remove some unneeded code. Signed-off-by: Holger Brunck cc: Kim Phillips cc: Valentin Longchamp cc: Gerlando Falauto cc: Heiko Schocher Signed-off-by: Kim Phillips --- diff --git a/include/configs/kmeter1.h b/include/configs/kmeter1.h index 6b5a6feaf7..f816da2a28 100644 --- a/include/configs/kmeter1.h +++ b/include/configs/kmeter1.h @@ -160,20 +160,6 @@ #define CONFIG_SYS_DBAT5L (CONFIG_SYS_PAXE_BASE | BATL_PP_RW | \ BATL_CACHEINHIBIT | BATL_GUARDEDSTORAGE) #define CONFIG_SYS_DBAT5U CONFIG_SYS_IBAT5U - -#ifdef CONFIG_PCI -/* PCI MEM space: cacheable */ -#define CFG_IBAT6L (CFG_PCI1_MEM_PHYS | BATL_PP_RW | BATL_MEMCOHERENCE) -#define CFG_IBAT6U (CFG_PCI1_MEM_PHYS | BATU_BL_256M | BATU_VS | BATU_VP) -#define CFG_DBAT6L CFG_IBAT6L -#define CFG_DBAT6U CFG_IBAT6U -/* PCI MMIO space: cache-inhibit and guarded */ -#define CFG_IBAT7L (CFG_PCI1_MMIO_PHYS | BATL_PP_RW | \ - BATL_CACHEINHIBIT | BATL_GUARDEDSTORAGE) -#define CFG_IBAT7U (CFG_PCI1_MMIO_PHYS | BATU_BL_256M | BATU_VS | BATU_VP) -#define CFG_DBAT7L CFG_IBAT7L -#define CFG_DBAT7U CFG_IBAT7U -#else /* CONFIG_PCI */ #define CONFIG_SYS_IBAT6L (0) #define CONFIG_SYS_IBAT6U (0) #define CONFIG_SYS_IBAT7L (0) @@ -182,6 +168,5 @@ #define CONFIG_SYS_DBAT6U CONFIG_SYS_IBAT6U #define CONFIG_SYS_DBAT7L CONFIG_SYS_IBAT7L #define CONFIG_SYS_DBAT7U CONFIG_SYS_IBAT7U -#endif /* CONFIG_PCI */ #endif /* __CONFIG_H */