summaryrefslogtreecommitdiff
path: root/board/keymile/kmp204x/kmp204x.h
diff options
context:
space:
mode:
authorStefan Bigler <stefan.bigler@keymile.com>2014-05-02 10:49:27 +0200
committerYork Sun <yorksun@freescale.com>2014-05-13 08:26:54 -0700
commit4921a149e1470d92e2982e13c709357d90ef5e6c (patch)
treeb8825d039e819e4c35c24e4c8fa762d43bf1dad7 /board/keymile/kmp204x/kmp204x.h
parenta53e65d053401fff12740a8bbed8cb41670c268f (diff)
downloadu-boot-imx-4921a149e1470d92e2982e13c709357d90ef5e6c.zip
u-boot-imx-4921a149e1470d92e2982e13c709357d90ef5e6c.tar.gz
u-boot-imx-4921a149e1470d92e2982e13c709357d90ef5e6c.tar.bz2
kmp204x: handle dip-switch for factory settings
Add readout of dip-switch to revert to factory settings. If one or more dip-switch are set, launch bank 0 that contains the bootloader to do the required action. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/keymile/kmp204x/kmp204x.h b/board/keymile/kmp204x/kmp204x.h
index 34de27e..720e225 100644
--- a/board/keymile/kmp204x/kmp204x.h
+++ b/board/keymile/kmp204x/kmp204x.h
@@ -22,5 +22,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 qrio_enable_app_buffer(void);
void pci_of_setup(void *blob, bd_t *bd);