summaryrefslogtreecommitdiff
path: root/board/keymile/kmp204x/qrio.c
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/qrio.c
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/qrio.c')
-rw-r--r--board/keymile/kmp204x/qrio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/keymile/kmp204x/qrio.c b/board/keymile/kmp204x/qrio.c
index 08d5ca4..b6ba93a 100644
--- a/board/keymile/kmp204x/qrio.c
+++ b/board/keymile/kmp204x/qrio.c
@@ -91,7 +91,7 @@ void qrio_set_opendrain_gpio(u8 port_off, u8 gpio_nr, u8 val)
#define WDMASK_OFF 0x16
-static void qrio_wdmask(u8 bit, bool wden)
+void qrio_wdmask(u8 bit, bool wden)
{
u16 wdmask;
void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE;