diff options
author | Ilya Yanok <yanok@emcraft.com> | 2010-09-09 23:03:34 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-12 22:44:34 +0200 |
commit | 92d1a400bc9708efe83918cfc61f3f34acf8a1b1 (patch) | |
tree | 68a1a69c38267e6b474da957647ee94b43a51cfd /include | |
parent | cb5639cbc01a73bd72226c076696b92fce1292ff (diff) | |
download | u-boot-imx-92d1a400bc9708efe83918cfc61f3f34acf8a1b1.zip u-boot-imx-92d1a400bc9708efe83918cfc61f3f34acf8a1b1.tar.gz u-boot-imx-92d1a400bc9708efe83918cfc61f3f34acf8a1b1.tar.bz2 |
a4m072: support for SHOW_BOOT_PROGRESS feature using LED display
This patch adds support for displaying boot progress codes on a4m072 board
using LED display. As we can display only one symbol at any time on the hardware
(two symbols with blinking) we can't display progress codes directly and have
to map them to 2-symbol codes.
We use the following mapping on the a4m972 board:
[1, 8] U [100, 108] -> 5
[-9, -1] U [-101, -100] U [-113, -103] -> -5
[9, 14] U [120, 123] U [125, 129] -> 8
[-13, -10] U [-122, -120] U [-127, -124] U {-129} -> -8
{15} -> 9
[-32, -30] -> -A
[-40, -35] U [-51, -42] U [-58, -53] U
[-83, -80] U {-64, -130, -140, -150} -> -B
Other progress code are ignored. One symbol codes are displayed steady while
two-symbol codes are displayed using blinking. Boot progress codes are
displayed with decimal got unset (as opposed to 'display' command output).
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/a4m072.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/a4m072.h b/include/configs/a4m072.h index ce931d7..a54ab1d 100644 --- a/include/configs/a4m072.h +++ b/include/configs/a4m072.h @@ -382,4 +382,6 @@ #define CONFIG_SYS_DISP_CHR_RAM CONFIG_SYS_CS7_START #define CONFIG_SHOW_ACTIVITY /* used for display realization */ +#define CONFIG_SHOW_BOOT_PROGRESS + #endif /* __CONFIG_H */ |