diff options
author | Timur Tabi <timur@freescale.com> | 2010-09-01 00:56:43 (GMT) |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2010-09-21 20:46:02 (GMT) |
commit | e69e520f9d235bb7d96296081fdfc09b9fee8c46 (patch) | |
tree | a690ae6920bf6794df239403e0100bec599bc916 /board/freescale/mpc8610hpcd/mpc8610hpcd.c | |
parent | 68f6618bcd0f06b5558c66ceb607b14f5f46ba03 (diff) | |
download | u-boot-e69e520f9d235bb7d96296081fdfc09b9fee8c46.tar.xz |
fsl: refactor MPC8610 and MPC5121 DIU code to use existing bitmap and logo features
The Freescale MPC8610 and MPC5121 DIU code had re-implement two features that already
existed in U-Boot: bitmap drawing and top-of-screen logo (CONFIG_VIDEO_LOGO).
So delete the 8610-specific code and use the built-in features instead.
Signed-off-by: Timur Tabi <timur@freescale.com>
Diffstat (limited to 'board/freescale/mpc8610hpcd/mpc8610hpcd.c')
-rw-r--r-- | board/freescale/mpc8610hpcd/mpc8610hpcd.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c index 6578f58..f67f3e3 100644 --- a/board/freescale/mpc8610hpcd/mpc8610hpcd.c +++ b/board/freescale/mpc8610hpcd/mpc8610hpcd.c @@ -36,7 +36,7 @@ void sdram_init(void); phys_size_t fixed_sdram(void); -void mpc8610hpcd_diu_init(void); +int mpc8610hpcd_diu_init(void); /* called before any console output */ @@ -84,10 +84,6 @@ int misc_init_r(void) i2c_read(0x38, 0x0A, 1, &tmp_val, sizeof(tmp_val)); debug("DVI Encoder Read: 0x%02lx\n",tmp_val); -#ifdef CONFIG_FSL_DIU_FB - mpc8610hpcd_diu_init(); -#endif - return 0; } |