[U-Boot] [PATCH] Enable the DIU for P1022DS board.

The DIU of P1022DS was disabled by commit: dfe64e2c89731a3f9950d7acd8681b68df2bae03 to verify the u-boot MTD subsystem.
The local bus and DIU is multiplex on P1022, but the DIU will not be enabled if there is no video-mode environment. The NAND still can be used with DIU enabled in the configuration file with the video-mode environment disabled.
Signed-off-by: Jason Jin Jason.Jin@freescale.com --- include/configs/P1022DS.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h index edece1f..f3f4c30 100644 --- a/include/configs/P1022DS.h +++ b/include/configs/P1022DS.h @@ -413,6 +413,7 @@ #define CONFIG_SYS_HUSH_PARSER
/* Video */ +#define CONFIG_FSL_DIU_FB
#ifdef CONFIG_FSL_DIU_FB #define CONFIG_SYS_DIU_ADDR (CONFIG_SYS_CCSRBAR + 0x10000) @@ -432,6 +433,7 @@ #endif
#ifndef CONFIG_FSL_DIU_FB +#define CONFIG_ATI #endif
#ifdef CONFIG_ATI

On Fri, Sep 6, 2013 at 4:21 AM, Jason Jin Jason.Jin@freescale.com wrote:
#ifndef CONFIG_FSL_DIU_FB +#define CONFIG_ATI #endif
Is this really necessary? If the DIU is disabled, why would someone use a PCI video controller?

-----Original Message----- From: Timur Tabi [mailto:timur@tabi.org] Sent: Friday, September 06, 2013 10:53 PM To: Jin Zhengxiong-R64188 Cc: sun york-R58495; Wood Scott-B07421; U-Boot Mailing List Subject: Re: [U-Boot] [PATCH] Enable the DIU for P1022DS board.
On Fri, Sep 6, 2013 at 4:21 AM, Jason Jin Jason.Jin@freescale.com wrote:
#ifndef CONFIG_FSL_DIU_FB +#define CONFIG_ATI #endif
Is this really necessary? If the DIU is disabled, why would someone use a PCI video controller?
[Jason Jin-R64188] IF only they just want to verify the PCI video. Anyway, I'll not enable the ATI when the DIU is disabled. Thanks.
participants (3)
-
Jason Jin
-
Jin Zhengxiong-R64188
-
Timur Tabi