summaryrefslogtreecommitdiff
path: root/board/keymile/kmp204x/kmp204x.h
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@keymile.com>2014-04-30 15:01:46 +0200
committerYork Sun <yorksun@freescale.com>2014-05-13 08:26:55 -0700
commitaf47faf650b1329e2ea4f85d00adf813ca2a3da4 (patch)
treeb37e77283cf0653c6aab43e5af44cc276753917e /board/keymile/kmp204x/kmp204x.h
parent848b31ab0f56d828b1d986c48b495d15abb73a65 (diff)
downloadu-boot-imx-af47faf650b1329e2ea4f85d00adf813ca2a3da4.zip
u-boot-imx-af47faf650b1329e2ea4f85d00adf813ca2a3da4.tar.gz
u-boot-imx-af47faf650b1329e2ea4f85d00adf813ca2a3da4.tar.bz2
kmp204x: complete the reset sequence and PRST configuration
This adds the reset support for the following devices that was until then not implemented: - BFTIC4 - QSFPs This also fixes the configuration of the prst behaviour for the other resets: Only the u-boot and kernel relevant subsystems are taken out of reset (pcie, ZL30158, and front eth phy). Most of the prst config move to misc_init_f(), except for the PCIe related ones that are in pci_init_board and the bftic and ZL30158 ones that should be done as soon as possible. Only the behavior of the Hooper reset is changed according to the documentation as the application is not able to not configure the switch when it is not reset. 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 720e225..afede99 100644
--- a/board/keymile/kmp204x/kmp204x.h
+++ b/board/keymile/kmp204x/kmp204x.h
@@ -20,6 +20,7 @@ void qrio_gpio_direction_input(u8 port_off, u8 gpio_nr);
#define PRSTCFG_POWUP_RST 0x3
void qrio_prst(u8 bit, bool en, bool wden);
+void qrio_wdmask(u8 bit, bool wden);
void qrio_prstcfg(u8 bit, u8 mode);
void qrio_set_leds(void);
void qrio_enable_app_buffer(void);