Skip to contentSkip to conversation

Enable the DIU for P1022DS board.

PATCH Superseded Jason Jin 3 participants 3 messages Sep 6, 2013 – Oct 8, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jason Jin

author
#0 lore raw

PATCH 1/1 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.

---
 include/configs/P1022DS.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/P1022DS.h +2 -0
index edece1f..f3f4c30 100644
@@ -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
Signature · 1 line
1.8.0
#1 lore raw

PATCH 1/1 Enable the DIU for P1022DS board.

Quoted 4 lines · Jason Jin

#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?

#2 lore raw

PATCH 1/1 Enable the DIU for P1022DS board.

Quoted 7 lines

-----Original Message-----
From: Timur Tabi [mailto:timur at 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.

Quoted 8 lines
Quoted 4 lines · Jason Jin

#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.