Skip to contentSkip to conversation

ppc4xx: Remove PCI support from lwmon5

PATCH New Stefan Roese 1 participant 2 messages Dec 21, 2010 – Jan 10, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc4xx: Remove PCI support from lwmon5

PCI is not used at all on lwmon5. So lets remove it. It saves space and reduces boot time a bit (approx. 50ms).

---
 include/configs/lwmon5.h |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
include/configs/lwmon5.h +0 -17
index aedf495..a1ead70 100644
@@ -440,7 +440,6 @@
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_NET
 #define CONFIG_CMD_NFS
-#define CONFIG_CMD_PCI
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_SDRAM
@@ -488,22 +487,6 @@
 #define CONFIG_MX_CYCLIC        1       /* enable mdc/mwc commands      */
 #define CONFIG_VERSION_VARIABLE 1	/* include version env variable */
 
-/*
- * PCI stuff
- */
-/* General PCI */
-#define CONFIG_PCI			/* include pci support	        */
-#undef CONFIG_PCI_PNP			/* do (not) pci plug-and-play   */
-#define CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup  */
-#define CONFIG_SYS_PCI_TARGBASE        0x80000000 /* PCIaddr mapped to CONFIG_SYS_PCI_MEMBASE*/
-
-/* Board-specific PCI */
-#define CONFIG_SYS_PCI_TARGET_INIT
-#define CONFIG_SYS_PCI_MASTER_INIT
-
-#define CONFIG_SYS_PCI_SUBSYS_VENDORID 0x10e8	/* AMCC				*/
-#define CONFIG_SYS_PCI_SUBSYS_ID       0xcafe	/* Whatever			*/
-
 #ifndef DEBUG
 #define CONFIG_HW_WATCHDOG	1	/* Use external HW-Watchdog	*/
 #endif
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 ppc4xx: Remove PCI support from lwmon5

Quoted 2 lines · On Tuesday 21 December 2010 19:03:44 Stefan Roese wrote:

PCI is not used at all on lwmon5. So lets remove it. It saves space and reduces boot time a bit (approx. 50ms).

Applied to u-boot-ppc4xx. Thanks.

Cheers,
Stefan

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de