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).
master
wdenk 21 years ago
parent b4757cee52
commit fd3103bb8e
  1. 3
      CHANGELOG
  2. 8
      Makefile
  3. 13
      README
  4. 2
      board/tqm8xx/tqm8xx.c
  5. 24
      cpu/mpc8xx/lcd.c
  6. 6
      include/configs/TQM823L.h
  7. 2
      include/configs/TQM823M.h
  8. 2
      include/configs/svm_sc8xx.h

@ -2,6 +2,9 @@
Changes since U-Boot 1.0.0: 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 * Fix flash driver for TRAB board (must use Unlock Bypass Reset
command to exit Unlock Bypass Mode); adjust timings for flash, SRAM command to exit Unlock Bypass Mode); adjust timings for flash, SRAM
and CPLD and CPLD

@ -241,6 +241,12 @@ ADS860_config: unconfig
AMX860_config : unconfig AMX860_config : unconfig
@./mkconfig $(@:_config=) ppc mpc8xx amx860 westel @./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 c2mon_config: unconfig
@./mkconfig $(@:_config=) ppc mpc8xx c2mon @./mkconfig $(@:_config=) ppc mpc8xx c2mon
@ -473,7 +479,7 @@ TQM862M_100MHz_config: unconfig
} }
@[ -z "$(findstring _LCD,$@)" ] || \ @[ -z "$(findstring _LCD,$@)" ] || \
{ echo "#define CONFIG_LCD" >>include/config.h ; \ { 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" ; \ echo "... with LCD display" ; \
} }
@./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx @./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 display); also select one of the supported displays
by defining one of these: 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. Active, color, single scan.
CONFIG_SHARP_16x9 CONFIG_SHARP_16x9

@ -328,7 +328,7 @@ long int initdram (int board_type)
memctl->memc_br3 = CFG_BR3_CAN; memctl->memc_br3 = CFG_BR3_CAN;
/* Initialize MBMR */ /* 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 */ /* Initialize UPMB for CAN: single read */
memctl->memc_mdr = 0xFFFFC004; memctl->memc_mdr = 0xFFFFC004;

@ -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 = { static vidinfo_t panel_info = {
640, 480, 132, 99, CFG_HIGH, CFG_HIGH, CFG_LOW, CFG_LOW, CFG_HIGH, 640, 480, 132, 99, CFG_HIGH, CFG_HIGH, CFG_LOW, CFG_LOW, CFG_HIGH,
3, 0, 0, 1, 1, 144, 2, 0, 33 3, 0, 0, 1, 1, 144, 2, 0, 33
/* wbl, vpw, lcdac, wbf */ /* 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 = { static vidinfo_t panel_info = {
640, 480, 132, 99, CFG_HIGH, CFG_HIGH, CFG_LOW, CFG_LOW, CFG_HIGH, 640, 480, 132, 99, CFG_HIGH, CFG_HIGH, CFG_LOW, CFG_LOW, CFG_HIGH,
3, 0, 0, 1, 1, 144, 2, 0, 33 3, 0, 0, 1, 1, 144, 2, 0, 33
/* wbl, vpw, lcdac, wbf */ /* 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 #ifdef CONFIG_SHARP_LQ104V7DS01

@ -86,7 +86,11 @@
# define CONFIG_STATUS_LED 1 /* Status LED enabled */ # define CONFIG_STATUS_LED 1 /* Status LED enabled */
#endif /* CONFIG_LCD */ #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) #define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)

@ -37,7 +37,7 @@
#define CONFIG_TQM823M 1 /* ...on a TQM8xxM module */ #define CONFIG_TQM823M 1 /* ...on a TQM8xxM module */
#ifdef CONFIG_LCD /* with LCD controller ? */ #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 #endif
#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */

@ -71,7 +71,7 @@
#define CONFIG_SVM_SC8xx 1 /* ...on SVM SC8xx series */ #define CONFIG_SVM_SC8xx 1 /* ...on SVM SC8xx series */
#ifdef CONFIG_LCD /* with LCD controller ? */ #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 #endif
#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */

Loading…
Cancel
Save