summaryrefslogtreecommitdiff
path: root/include/configs/mpc5121ads.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2011-02-15 17:09:19 -0600
committerKumar Gala <galak@kernel.crashing.org>2011-04-04 22:32:18 -0500
commit7d3053fbf16caad4745f42f7ae3e38e9d3e964b5 (patch)
tree6f2e09864e590c7ec7d93d9888644eaa8d7fd3b9 /include/configs/mpc5121ads.h
parent1ac63e4094eee321266d5e5129077a3247d9439a (diff)
downloadu-boot-imx-7d3053fbf16caad4745f42f7ae3e38e9d3e964b5.zip
u-boot-imx-7d3053fbf16caad4745f42f7ae3e38e9d3e964b5.tar.gz
u-boot-imx-7d3053fbf16caad4745f42f7ae3e38e9d3e964b5.tar.bz2
powerpc: clean up DIU macro definitions for Freescale reference boards
Clean up the macro defintions used to enable DIU (video) support on the MPC8610HPCD and the MPC5121ADS so that they look more like the P1022DS, which is newer. Add software cursor support to all three boards. Also document the CONFIG_FSL_DIU_FB in the README. Signed-off-by: Timur Tabi <timur@freescale.com> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/configs/mpc5121ads.h')
-rw-r--r--include/configs/mpc5121ads.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/configs/mpc5121ads.h b/include/configs/mpc5121ads.h
index f966325..e7ef298 100644
--- a/include/configs/mpc5121ads.h
+++ b/include/configs/mpc5121ads.h
@@ -46,16 +46,16 @@
*/
#define CONFIG_E300 1 /* E300 Family */
#define CONFIG_MPC512X 1 /* MPC512X family */
-#define CONFIG_FSL_DIU_FB 1 /* FSL DIU */
#define CONFIG_SYS_TEXT_BASE 0xFFF00000
/* video */
-#undef CONFIG_VIDEO
-
-#ifdef CONFIG_VIDEO
+#ifdef CONFIG_FSL_DIU_FB
+#define CONFIG_SYS_DIU_ADDR (CONFIG_SYS_IMMR + 0x2100)
+#define CONFIG_VIDEO
#define CONFIG_CMD_BMP
#define CONFIG_CFB_CONSOLE
+#define CONFIG_VIDEO_SW_CURSOR
#define CONFIG_VGA_AS_SINGLE_DEVICE
#define CONFIG_VIDEO_LOGO
#define CONFIG_VIDEO_BMP_LOGO
@@ -74,7 +74,6 @@
#define CONFIG_MISC_INIT_R
#define CONFIG_SYS_IMMR 0x80000000
-#define CONFIG_SYS_DIU_ADDR (CONFIG_SYS_IMMR+0x2100)
#define CONFIG_SYS_MEMTEST_START 0x00200000 /* memtest region */
#define CONFIG_SYS_MEMTEST_END 0x00400000