kmp204x: Add support for the unit LEDs
authorStefan Bigler <stefan.bigler@keymile.com>
Fri, 2 May 2014 08:48:41 +0000 (10:48 +0200)
committerYork Sun <yorksun@freescale.com>
Tue, 13 May 2014 15:26:54 +0000 (08:26 -0700)
commita53e65d053401fff12740a8bbed8cb41670c268f
tree209e9e3dad2caa51dc2fe8a6467cd621a4bbad8f
parent5122dfae5d3cd68e0b6e5e08597df91ba79770aa
kmp204x: Add support for the unit LEDs

The unit LEDs are managed by the QRIO CPLD. This patch adds support for
accessing these LEDs in the QRIO.

The LEDs then are set to a correct boot state:
- UNIT-LED is red
- BOOT-LED is on.

Signed-off-by: Stefan Bigler <stefan.bigler@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
board/keymile/kmp204x/kmp204x.c
board/keymile/kmp204x/kmp204x.h
board/keymile/kmp204x/qrio.c