diff options
author | Ilya Yanok <yanok@emcraft.com> | 2010-09-09 23:03:33 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-12 22:44:33 +0200 |
commit | cb5639cbc01a73bd72226c076696b92fce1292ff (patch) | |
tree | 3ee0933df0ab0d0e93e1fe885d86aa080e59d56e /include/configs/a4m072.h | |
parent | 7f0d241d5ce8c7d0dff49f74498bf5708002424e (diff) |
a4m072: led display support
This patch adds support for LED display on a4m072 board. Hardware is
capable of displaying only one symbol at any time. We support displaying
two symbols in software (via blinking).
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Diffstat (limited to 'include/configs/a4m072.h')
-rw-r--r-- | include/configs/a4m072.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/configs/a4m072.h b/include/configs/a4m072.h index ffa5621a617..ce931d72a9f 100644 --- a/include/configs/a4m072.h +++ b/include/configs/a4m072.h @@ -122,6 +122,7 @@ #define CONFIG_CMD_MII #define CONFIG_CMD_DHCP #define CONFIG_CMD_PING +#define CONFIG_CMD_DISPLAY #if defined(CONFIG_PCI) #define CONFIG_CMD_PCI @@ -264,7 +265,7 @@ /* * GPIO configuration */ -#define CONFIG_SYS_GPS_PORT_CONFIG 0x10000004 +#define CONFIG_SYS_GPS_PORT_CONFIG 0x18000004 /* * Miscellaneous configurable options @@ -315,7 +316,10 @@ #define CONFIG_SYS_CS1_CFG 0x00009930 #define CONFIG_SYS_SRAM_BASE CONFIG_SYS_CS1_START #define CONFIG_SYS_SRAM_SIZE CONFIG_SYS_CS1_SIZE - +/* LED display at CS7 */ +#define CONFIG_SYS_CS7_START 0x6a000000 +#define CONFIG_SYS_CS7_SIZE (64*1024) +#define CONFIG_SYS_CS7_CFG 0x0000bf30 #define CONFIG_SYS_CS_BURST 0x00000000 #define CONFIG_SYS_CS_DEADCYCLE 0x33333003 @@ -374,4 +378,8 @@ #define OF_TBCLK (bd->bi_busfreq / 4) #define OF_STDOUT_PATH "/soc5200@f0000000/serial@2000" +/* Support for the 7-segment display */ +#define CONFIG_SYS_DISP_CHR_RAM CONFIG_SYS_CS7_START +#define CONFIG_SHOW_ACTIVITY /* used for display realization */ + #endif /* __CONFIG_H */ |