diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-31 17:50:37 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-31 17:50:37 +0200 |
commit | 2bb6a1044f49614f4c68dba7ca2352c44d3f1f82 (patch) | |
tree | e53bba1c03fa01387b335f193be75f2f62f2b3fb /drivers | |
parent | c37207d7f51e19c17f859966f314e27cc1231801 (diff) | |
parent | a48311557db6e7e9473a6163b44bb1e6c6ed64c4 (diff) | |
download | bootable_bootloader_goldelico_gta04-2bb6a1044f49614f4c68dba7ca2352c44d3f1f82.zip bootable_bootloader_goldelico_gta04-2bb6a1044f49614f4c68dba7ca2352c44d3f1f82.tar.gz bootable_bootloader_goldelico_gta04-2bb6a1044f49614f4c68dba7ca2352c44d3f1f82.tar.bz2 |
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/atmel_lcdfb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c index 27df449..b332a82 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c @@ -100,7 +100,11 @@ void lcd_ctrl_init(void *lcdbase) value << ATMEL_LCDC_CLKVAL_OFFSET); /* Initialize control register 2 */ +#ifdef CONFIG_AVR32 + value = ATMEL_LCDC_MEMOR_BIG | ATMEL_LCDC_CLKMOD_ALWAYSACTIVE; +#else value = ATMEL_LCDC_MEMOR_LITTLE | ATMEL_LCDC_CLKMOD_ALWAYSACTIVE; +#endif if (panel_info.vl_tft) value |= ATMEL_LCDC_DISTYPE_TFT; |