]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
a4m072: change 'display' command implementation
authorIlya Yanok <yanok@emcraft.com>
Thu, 21 Oct 2010 15:20:10 +0000 (17:20 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 21 Oct 2010 20:16:31 +0000 (22:16 +0200)
commit8f54dd4f13ce2a2d71bb820c0adcfc1db36d6671
treeba7efb27f16c0ce247e46a706d27eff668d34930
parent7ae549926acf7778e7a439191d2d8117c9e9e1c9
a4m072: change 'display' command implementation

This patch changes implementation of 'display' command for a4m072
that uses 7-segment LED display as customer requested:

a) The "display" command shall _not_ turn on the decimal point.

b) Exception: "display ." shall turn on (only) the decimal point.

c) Hex digits (0-9, A-F, a-f) shall be displayed as usual.

d) Letters U, P, Y, L, S, T, H shall be displayed as usual (lower
   case letters identical to upper case letters)

e) 'I' (and 'i') shall be displayed like '1'

f) 'O' (and 'o') shall be displayed like '0'

g) all other Characters shall be displayed like ' ' (all segments off).

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
board/a4m072/a4m072.c