summaryrefslogtreecommitdiffstats
path: root/board/keymile/kmp204x/kmp204x.c
diff options
context:
space:
mode:
authorStefan Bigler <stefan.bigler@keymile.com>2014-05-02 10:48:41 +0200
committerYork Sun <yorksun@freescale.com>2014-05-13 08:26:54 -0700
commita53e65d053401fff12740a8bbed8cb41670c268f (patch)
tree209e9e3dad2caa51dc2fe8a6467cd621a4bbad8f /board/keymile/kmp204x/kmp204x.c
parent5122dfae5d3cd68e0b6e5e08597df91ba79770aa (diff)
downloadblackbird-obmc-uboot-a53e65d053401fff12740a8bbed8cb41670c268f.tar.gz
blackbird-obmc-uboot-a53e65d053401fff12740a8bbed8cb41670c268f.zip
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>
Diffstat (limited to 'board/keymile/kmp204x/kmp204x.c')
-rw-r--r--board/keymile/kmp204x/kmp204x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/keymile/kmp204x/kmp204x.c b/board/keymile/kmp204x/kmp204x.c
index 95a19cdb2c..5fceedd7c3 100644
--- a/board/keymile/kmp204x/kmp204x.c
+++ b/board/keymile/kmp204x/kmp204x.c
@@ -113,6 +113,9 @@ int board_early_init_r(void)
if (ret)
printf("error triggering PCIe FPGA config\n");
+ /* enable the Unit LED (red) & Boot LED (on) */
+ qrio_set_leds();
+
return ret;
}
OpenPOWER on IntegriCloud