Patch by Sam Song, 09 Jun 2004:

- Add support for RPXlite_DW board
- Update FLASH driver for 4*AM29DL323DB90VI
- Add option configuration of CFG_ENV_IS_IN_NVRAM on RPXlite_DW board
This commit is contained in:
wdenk
2004-06-09 21:04:48 +00:00
parent 36c728774e
commit e63c8ee3dc
16 changed files with 1606 additions and 32 deletions

View File

@@ -240,6 +240,10 @@ void cpu_init_f (volatile immap_t * immr)
rpxclassic_init ();
#endif
#if defined(CONFIG_RPXLITE) && defined(CFG_ENV_IS_IN_NVRAM)
rpxlite_init ();
#endif
#ifdef CFG_RCCR /* must be done before cpm_load_patch() */
/* write config value */
immr->im_cpm.cp_rccr = CFG_RCCR;

View File

@@ -828,6 +828,11 @@ static void lcd_ctrl_init (void *lcdbase)
* the controller.
*/
#ifdef CONFIG_RPXLITE
/* This is special for RPXlite_DW Software Development Platform **[Sam]** */
panel_info.vl_dp = CFG_LOW;
#endif
lccrtmp = LCDBIT (LCCR_BNUM_BIT,
(((panel_info.vl_row * panel_info.vl_col) * (1 << LCD_BPP)) / 128));