Patchwork [U-Boot] powerpc/85xx: Drop CONFIG_VIDEO on P1_P2_RDB-PC boards to reduce size

login
register
mail settings
Submitter Kumar Gala
Date Oct. 14, 2011, 4:42 a.m.
Message ID <1318567351-716-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/119694/
State Accepted
Commit e140aad18af5536a25c9ec2055ab53e9e4bc0721
Delegated to: Kumar Gala
Headers show

Comments

Kumar Gala - Oct. 14, 2011, 4:42 a.m.
With older compilers (gcc-4.2.x) we run into issues that resulting image
is too large.  We can save a bunch of space by removing the video support.
In general video support on these boards is a nice to have since it
requires a PCIe add-on card.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 include/configs/p1_p2_rdb_pc.h |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)
Kumar Gala - Oct. 14, 2011, 7:32 a.m.
On Oct 13, 2011, at 11:42 PM, Kumar Gala wrote:

> With older compilers (gcc-4.2.x) we run into issues that resulting image
> is too large.  We can save a bunch of space by removing the video support.
> In general video support on these boards is a nice to have since it
> requires a PCIe add-on card.
> 
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> include/configs/p1_p2_rdb_pc.h |   16 ----------------
> 1 files changed, 0 insertions(+), 16 deletions(-)

applied

- k

Patch

diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index b3d981f..4a1e9e9 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -630,22 +630,6 @@ 
 #endif
 #define CONFIG_SYS_PCIE1_IO_SIZE	0x00010000	/* 64k */
 
-
-/*PCIE video card used*/
-#define VIDEO_IO_OFFSET		CONFIG_SYS_PCIE2_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	/* Defind e1000 pci Ethernet card*/