diff options
author | wdenk <wdenk> | 2004-06-09 21:04:48 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-06-09 21:04:48 +0000 |
commit | e63c8ee3dcde0992377df434ab5af486dd866866 (patch) | |
tree | afa7dd308bfbfb582560494737b209c7ff3b0fb5 /cpu | |
parent | 36c728774edcfca54766f6828173fe24d3d8aa0b (diff) |
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
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/mpc8xx/cpu_init.c | 4 | ||||
-rw-r--r-- | cpu/mpc8xx/lcd.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/cpu/mpc8xx/cpu_init.c b/cpu/mpc8xx/cpu_init.c index 4dabd20d8..f93f43273 100644 --- a/cpu/mpc8xx/cpu_init.c +++ b/cpu/mpc8xx/cpu_init.c @@ -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; diff --git a/cpu/mpc8xx/lcd.c b/cpu/mpc8xx/lcd.c index dc2f554c9..1dc5f4e4b 100644 --- a/cpu/mpc8xx/lcd.c +++ b/cpu/mpc8xx/lcd.c @@ -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)); |