diff options
-rw-r--r-- | CHANGELOG | 8 | ||||
-rw-r--r-- | Makefile | 34 | ||||
-rw-r--r-- | drivers/cfb_console.c | 2 | ||||
-rw-r--r-- | drivers/sed13806.c | 6 | ||||
-rw-r--r-- | include/configs/TQM5200.h | 2 | ||||
-rw-r--r-- | include/configs/Total5200.h | 3 |
6 files changed, 34 insertions, 21 deletions
diff --git a/CHANGELOG b/CHANGELOG index ffac5a2dfe0..e7d1e73f94a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,14 @@ Changes since U-Boot 1.1.1: ====================================================================== +* Patch by Martin Krause, 03 Aug 2004: + change timing for SM501 graphics controller on TQM5200 module + +* Patch by Mark Jonas, 13 July 2004: + - Total5200 LCD now run in little endian mode. Endianess conversion + is done in hardware. + - Removed last reference to "console" environment variable. + * Patches by Lars Munch, 12 Jul 2004: - move at45.c to board/at91rm9200dk/ since this is at91rm9200dk board specific @@ -249,6 +249,21 @@ icecube_5100_config: unconfig } @./mkconfig -a IceCube ppc mpc5xxx icecube +PM520_config \ +PM520_DDR_config \ +PM520_ROMBOOT_config \ +PM520_ROMBOOT_DDR_config: unconfig + @ >include/config.h + @[ -z "$(findstring DDR,$@)" ] || \ + { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ + echo "... DDR memory revision" ; \ + } + @[ -z "$(findstring ROMBOOT,$@)" ] || \ + { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ + echo "... booting from 8-bit flash" ; \ + } + @./mkconfig -a PM520 ppc mpc5xxx pm520 + MINI5200_config \ EVAL5200_config \ TOP5200_config: unconfig @@ -283,30 +298,15 @@ Total5200_Rev2_lowboot_config: unconfig } @./mkconfig -a Total5200 ppc mpc5xxx total5200 -PM520_config \ -PM520_DDR_config \ -PM520_ROMBOOT_config \ -PM520_ROMBOOT_DDR_config: unconfig - @ >include/config.h - @[ -z "$(findstring DDR,$@)" ] || \ - { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ - echo "... DDR memory revision" ; \ - } - @[ -z "$(findstring ROMBOOT,$@)" ] || \ - { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ - echo "... booting from 8-bit flash" ; \ - } - @./mkconfig -a PM520 ppc mpc5xxx pm520 - TQM5200_AA_config \ TQM5200_AB_config \ TQM5200_AC_config \ MiniFAP_config: unconfig @ >include/config.h - @[ -z "$(findstring Mini-FAP,$@)" ] || \ + @[ -z "$(findstring MiniFAP,$@)" ] || \ { echo "#define CONFIG_MINIFAP" >>include/config.h ; \ echo "#define CONFIG_TQM5200_AC" >>include/config.h ; \ - echo "... TQM5200_AC on Mini-FAP" ; \ + echo "... TQM5200_AC on MiniFAP" ; \ } @[ -z "$(findstring AA,$@)" ] || \ { echo "#define CONFIG_TQM5200_AA" >>include/config.h ; \ diff --git a/drivers/cfb_console.c b/drivers/cfb_console.c index 3d26ae2d508..1eaac4771ed 100644 --- a/drivers/cfb_console.c +++ b/drivers/cfb_console.c @@ -123,7 +123,9 @@ CONFIG_VIDEO_HW_CURSOR: - Uses the hardware cursor capability of the /*****************************************************************************/ #ifdef CONFIG_VIDEO_SED13806 +#ifndef CONFIG_TOTAL5200 #define VIDEO_FB_LITTLE_ENDIAN +#endif #define VIDEO_HW_RECTFILL #define VIDEO_HW_BITBLT #endif diff --git a/drivers/sed13806.c b/drivers/sed13806.c index 114a2470bce..6996ca805eb 100644 --- a/drivers/sed13806.c +++ b/drivers/sed13806.c @@ -36,9 +36,13 @@ #define writeByte(ptrReg,value) \ *(volatile unsigned char *)(sed13806.isaBase + ptrReg) = value +#ifdef CONFIG_TOTAL5200 +#define writeWord(ptrReg,value) \ + (*(volatile unsigned short *)(sed13806.isaBase + ptrReg) = value) +#else #define writeWord(ptrReg,value) \ (*(volatile unsigned short *)(sed13806.isaBase + ptrReg) = ((value >> 8 ) & 0xff) | ((value << 8) & 0xff00)) - +#endif GraphicDevice sed13806; diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h index 4b276336466..1f83aa53d51 100644 --- a/include/configs/TQM5200.h +++ b/include/configs/TQM5200.h @@ -474,7 +474,7 @@ #if defined (CONFIG_TQM5200_AB) || defined (CONFIG_TQM5200_AC) #define CFG_CS1_START 0xE0000000 #define CFG_CS1_SIZE 0x4000000 /* 64 MByte */ -#define CFG_CS1_CFG 0x0148FF70 +#define CFG_CS1_CFG 0x8F48FF70 #define SM501_MMIO_BASE CFG_CS1_START + 0x03E00000 #endif diff --git a/include/configs/Total5200.h b/include/configs/Total5200.h index 47f24be5206..7e3c11ea69a 100644 --- a/include/configs/Total5200.h +++ b/include/configs/Total5200.h @@ -173,7 +173,6 @@ "net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm\0" \ "rootpath=/opt/eldk/ppc_82xx\0" \ "bootfile=/tftpboot/MPC5200/uImage\0" \ - "console=serial\0" \ "" #define CONFIG_BOOTCOMMAND "run flash_self" @@ -357,7 +356,7 @@ #define CFG_CS2_START CFG_LCD_BASE #define CFG_CS2_SIZE 0x00400000 /* 4096 kB */ -#define CFG_CS2_CFG 0x0032FD00 /* 50WS, MX, AL, AA, CE, AS_25, DS_16 */ +#define CFG_CS2_CFG 0x0032FD0C /* 50WS, MX, AL, AA, CE, AS_25, DS_16, endian swapping */ #if CONFIG_TOTAL5200_REV==1 # define CFG_CS3_START CFG_CPLD_BASE |