From e63c8ee3dcde0992377df434ab5af486dd866866 Mon Sep 17 00:00:00 2001 From: wdenk Date: Wed, 9 Jun 2004 21:04:48 +0000 Subject: 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 --- cpu/mpc8xx/cpu_init.c | 4 ++++ cpu/mpc8xx/lcd.c | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'cpu') diff --git a/cpu/mpc8xx/cpu_init.c b/cpu/mpc8xx/cpu_init.c index 4dabd20..f93f432 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 dc2f554..1dc5f4e 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)); -- cgit v1.1