diff options
author | Stefan Bigler <stefan.bigler@keymile.com> | 2014-05-02 10:48:41 +0200 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-05-13 08:26:54 -0700 |
commit | a53e65d053401fff12740a8bbed8cb41670c268f (patch) | |
tree | 209e9e3dad2caa51dc2fe8a6467cd621a4bbad8f /board/keymile/kmp204x/kmp204x.h | |
parent | 5122dfae5d3cd68e0b6e5e08597df91ba79770aa (diff) |
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.h')
-rw-r--r-- | board/keymile/kmp204x/kmp204x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/keymile/kmp204x/kmp204x.h b/board/keymile/kmp204x/kmp204x.h index 0267596e4e..34de27eafe 100644 --- a/board/keymile/kmp204x/kmp204x.h +++ b/board/keymile/kmp204x/kmp204x.h @@ -21,5 +21,6 @@ void qrio_gpio_direction_input(u8 port_off, u8 gpio_nr); void qrio_prst(u8 bit, bool en, bool wden); void qrio_prstcfg(u8 bit, u8 mode); +void qrio_set_leds(void); void pci_of_setup(void *blob, bd_t *bd); |