Patchwork [U-Boot] powerpc/85xx: Drop CONFIG_VIDEO support on corenet_ds boards

login
register
mail settings
Submitter Kumar Gala
Date April 8, 2011, 7:48 a.m.
Message ID <1302248921-20457-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/90278/
State Accepted
Commit 15321c9c39f741400551413dfadc062b3471d4a5
Headers show

Comments

Kumar Gala - April 8, 2011, 7:48 a.m.
We don't really ever use Video cards on corenet_ds style boards and its
bloating our image which is close the its max size.  Drop support and
also kill some defines for non-PNP PCI which we never use.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 include/configs/corenet_ds.h |   23 -----------------------
 1 files changed, 0 insertions(+), 23 deletions(-)

Patch

diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index f4c3fcd..7c77973 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -458,33 +458,10 @@ 
 #endif
 
 #ifdef CONFIG_PCI
-
-/*PCIE video card used*/
-#define VIDEO_IO_OFFSET		CONFIG_SYS_PCIE1_IO_VIRT
-
-/* video */
-#define CONFIG_VIDEO
-
-#ifdef CONFIG_VIDEO
-#define CONFIG_BIOSEMU
-#define CONFIG_CFB_CONSOLE
-#define CONFIG_VIDEO_SW_CURSOR
-#define CONFIG_VGA_AS_SINGLE_DEVICE
-#define CONFIG_ATI_RADEON_FB
-#define CONFIG_VIDEO_LOGO
-#define CONFIG_SYS_ISA_IO_BASE_ADDRESS VIDEO_IO_OFFSET
-#endif
-
 #define CONFIG_NET_MULTI
 #define CONFIG_PCI_PNP			/* do pci plug-and-play */
 #define CONFIG_E1000
 
-#ifndef CONFIG_PCI_PNP
-#define PCI_ENET0_IOADDR		CONFIG_SYS_PCI1_IO_BUS
-#define PCI_ENET0_MEMADDR		CONFIG_SYS_PCI1_IO_BUS
-#define PCI_IDSEL_NUMBER		0x11	/* IDSEL = AD11 */
-#endif
-
 #define CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
 #define CONFIG_DOS_PARTITION
 #endif	/* CONFIG_PCI */