diff options
author | wdenk <wdenk> | 2003-11-25 16:55:19 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-11-25 16:55:19 +0000 |
commit | fd3103bb8ece6b20d5f4974fd672b9ff19f9fe99 (patch) | |
tree | 11bfc414e9c8422bccaf4dfa7b039081c74de391 | |
parent | b4757cee52597ab5a67c30a1bf2a3208209e1ccb (diff) |
Add support for BMS2003 board
(featuring a NEC NL6448BC33-54. 10.4", 640x480 TFT display).
Fix NEC display names (it's 6440 [for 640x480], not 6640).
-rw-r--r-- | CHANGELOG | 3 | ||||
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | README | 13 | ||||
-rw-r--r-- | board/tqm8xx/tqm8xx.c | 2 | ||||
-rw-r--r-- | cpu/mpc8xx/lcd.c | 24 | ||||
-rw-r--r-- | include/configs/TQM823L.h | 6 | ||||
-rw-r--r-- | include/configs/TQM823M.h | 2 | ||||
-rw-r--r-- | include/configs/svm_sc8xx.h | 2 |
8 files changed, 45 insertions, 15 deletions
diff --git a/CHANGELOG b/CHANGELOG index 6046633fb49..0da9bfb9af1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes since U-Boot 1.0.0: ====================================================================== +* Added BMS2003 board + add support for NEC NL6448BC33-54. 10.4", 640x480 TFT display + * Fix flash driver for TRAB board (must use Unlock Bypass Reset command to exit Unlock Bypass Mode); adjust timings for flash, SRAM and CPLD @@ -241,6 +241,12 @@ ADS860_config: unconfig AMX860_config : unconfig @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel +bms2003_config : unconfig + @echo "#define CONFIG_BMS2003" >include/config.h + @echo "#define CONFIG_LCD" >>include/config.h + @echo "#define CONFIG_NEC_NL6448BC33_54" >>include/config.h + @./mkconfig -a TQM823L ppc mpc8xx tqm8xx + c2mon_config: unconfig @./mkconfig $(@:_config=) ppc mpc8xx c2mon @@ -473,7 +479,7 @@ TQM862M_100MHz_config: unconfig } @[ -z "$(findstring _LCD,$@)" ] || \ { echo "#define CONFIG_LCD" >>include/config.h ; \ - echo "#define CONFIG_NEC_NL6648BC20" >>include/config.h ; \ + echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ echo "... with LCD display" ; \ } @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx @@ -850,13 +850,18 @@ The following options need to be configured: display); also select one of the supported displays by defining one of these: - CONFIG_NEC_NL6648AC33: + CONFIG_NEC_NL6448AC33: - NEC NL6648AC33-18. Active, color, single scan. + NEC NL6448AC33-18. Active, color, single scan. - CONFIG_NEC_NL6648BC20 + CONFIG_NEC_NL6448BC20 - NEC NL6648BC20-08. 6.5", 640x480. + NEC NL6448BC20-08. 6.5", 640x480. + Active, color, single scan. + + CONFIG_NEC_NL6448BC33_54 + + NEC NL6448BC33-54. 10.4", 640x480. Active, color, single scan. CONFIG_SHARP_16x9 diff --git a/board/tqm8xx/tqm8xx.c b/board/tqm8xx/tqm8xx.c index badc7940116..5f74650d54f 100644 --- a/board/tqm8xx/tqm8xx.c +++ b/board/tqm8xx/tqm8xx.c @@ -328,7 +328,7 @@ long int initdram (int board_type) memctl->memc_br3 = CFG_BR3_CAN; /* Initialize MBMR */ - memctl->memc_mbmr = MAMR_GPL_B4DIS; /* GPL_B4 ouput line Disable */ + memctl->memc_mbmr = MBMR_GPL_B4DIS; /* GPL_B4 ouput line Disable */ /* Initialize UPMB for CAN: single read */ memctl->memc_mdr = 0xFFFFC004; diff --git a/cpu/mpc8xx/lcd.c b/cpu/mpc8xx/lcd.c index ca5f2492afd..5405cb431c4 100644 --- a/cpu/mpc8xx/lcd.c +++ b/cpu/mpc8xx/lcd.c @@ -150,28 +150,40 @@ static vidinfo_t panel_info = { /*----------------------------------------------------------------------*/ /*----------------------------------------------------------------------*/ -#ifdef CONFIG_NEC_NL6648AC33 +#ifdef CONFIG_NEC_NL6448AC33 /* - * NEC NL6648AC33-18. Active, color, single scan. + * NEC NL6448AC33-18. Active, color, single scan. */ static vidinfo_t panel_info = { 640, 480, 132, 99, CFG_HIGH, CFG_HIGH, CFG_LOW, CFG_LOW, CFG_HIGH, 3, 0, 0, 1, 1, 144, 2, 0, 33 /* wbl, vpw, lcdac, wbf */ }; -#endif /* CONFIG_NEC_NL6648AC33 */ +#endif /* CONFIG_NEC_NL6448AC33 */ /*----------------------------------------------------------------------*/ -#ifdef CONFIG_NEC_NL6648BC20 +#ifdef CONFIG_NEC_NL6448BC20 /* - * NEC NL6648BC20-08. 6.5", 640x480. Active, color, single scan. + * NEC NL6448BC20-08. 6.5", 640x480. Active, color, single scan. */ static vidinfo_t panel_info = { 640, 480, 132, 99, CFG_HIGH, CFG_HIGH, CFG_LOW, CFG_LOW, CFG_HIGH, 3, 0, 0, 1, 1, 144, 2, 0, 33 /* wbl, vpw, lcdac, wbf */ }; -#endif /* CONFIG_NEC_NL6648BC20 */ +#endif /* CONFIG_NEC_NL6448BC20 */ +/*----------------------------------------------------------------------*/ + +#ifdef CONFIG_NEC_NL6448BC33_54 +/* + * NEC NL6448BC33-54. 10.4", 640x480. Active, color, single scan. + */ +static vidinfo_t panel_info = { + 640, 480, 212, 158, CFG_HIGH, CFG_HIGH, CFG_LOW, CFG_LOW, CFG_HIGH, + 3, 0, 0, 1, 1, 144, 2, 0, 33 + /* wbl, vpw, lcdac, wbf */ +}; +#endif /* CONFIG_NEC_NL6448BC33_54 */ /*----------------------------------------------------------------------*/ #ifdef CONFIG_SHARP_LQ104V7DS01 diff --git a/include/configs/TQM823L.h b/include/configs/TQM823L.h index e53304ebfa4..020cc8312db 100644 --- a/include/configs/TQM823L.h +++ b/include/configs/TQM823L.h @@ -86,7 +86,11 @@ # define CONFIG_STATUS_LED 1 /* Status LED enabled */ #endif /* CONFIG_LCD */ -#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */ +#ifdef CONFIG_BMS2003 +# define CONFIG_CAN_DRIVER 1 /* CAN Driver support enabled */ +#else +# undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */ +#endif #define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE) diff --git a/include/configs/TQM823M.h b/include/configs/TQM823M.h index 9720828b9d7..7ca9153207c 100644 --- a/include/configs/TQM823M.h +++ b/include/configs/TQM823M.h @@ -37,7 +37,7 @@ #define CONFIG_TQM823M 1 /* ...on a TQM8xxM module */ #ifdef CONFIG_LCD /* with LCD controller ? */ -/* #define CONFIG_NEC_NL6648BC20 1 / * use NEC NL6648BC20 display */ +/* #define CONFIG_NEC_NL6448BC20 1 / * use NEC NL6448BC20 display */ #endif #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ diff --git a/include/configs/svm_sc8xx.h b/include/configs/svm_sc8xx.h index e9e86f6d811..9589050a6d1 100644 --- a/include/configs/svm_sc8xx.h +++ b/include/configs/svm_sc8xx.h @@ -71,7 +71,7 @@ #define CONFIG_SVM_SC8xx 1 /* ...on SVM SC8xx series */ #ifdef CONFIG_LCD /* with LCD controller ? */ -/* #define CONFIG_NEC_NL6648BC20 1 / * use NEC NL6648BC20 display */ +/* #define CONFIG_NEC_NL6448BC20 1 / * use NEC NL6448BC20 display */ #endif #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ |