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

Jason Jin Jason.Jin at freescale.com
Fri Sep 6 11:21:46 CEST 2013


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 at 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
-- 
1.8.0




More information about the U-Boot mailing list