From 218a758fb96f3a0e5c18b4bbef8aa2a2f9eb0e35 Mon Sep 17 00:00:00 2001 From: Jiang Yutang Date: Mon, 24 Jan 2011 18:21:19 +0800 Subject: [PATCH] powerpc/85xx: Enable support for ATI graphics cards on P1022DS Make the support for ATI graphics cards mutually exclusive with DIU. Signed-off-by: Jiang Yutang Signed-off-by: Kumar Gala --- include/configs/P1022DS.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h index e78bcc54c5..f91f8477e5 100644 --- a/include/configs/P1022DS.h +++ b/include/configs/P1022DS.h @@ -219,6 +219,22 @@ #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 */ -- 2.25.1