]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/85xx: Enable support for ATI graphics cards on P1022DS
authorJiang Yutang <b14898@freescale.com>
Mon, 24 Jan 2011 10:21:19 +0000 (18:21 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Sun, 10 Apr 2011 16:17:55 +0000 (11:17 -0500)
Make the support for ATI graphics cards mutually exclusive with DIU.

Signed-off-by: Jiang Yutang <b14898@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
include/configs/P1022DS.h

index e78bcc54c58220a49ee662bab2eb84153213b1a9..f91f8477e54295c4e6580f607d71b3b019a4c1b0 100644 (file)
 #undef CONFIG_SYS_FLASH_EMPTY_INFO
 #endif
 
+#ifndef CONFIG_DIU
+#define CONFIG_ATI
+#endif
+
+#ifdef CONFIG_ATI
+#define VIDEO_IO_OFFSET                CONFIG_SYS_PCIE1_IO_VIRT
+#define CONFIG_VIDEO
+#define CONFIG_BIOSEMU
+#define CONFIG_VIDEO_SW_CURSOR
+#define CONFIG_ATI_RADEON_FB
+#define CONFIG_VIDEO_LOGO
+#define CONFIG_SYS_ISA_IO_BASE_ADDRESS VIDEO_IO_OFFSET
+#define CONFIG_CFB_CONSOLE
+#define CONFIG_VGA_AS_SINGLE_DEVICE
+#endif
+
 /*
  * Pass open firmware flat tree
  */