diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-08-05 22:47:11 (GMT) |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-08-13 20:06:03 (GMT) |
commit | b7b206706208a0c7509b7addda7c5f15c7b2fec6 (patch) | |
tree | 55f95b09782143185113aaa36017fa49ba4e4d0f /board | |
parent | 36a01bdd8046e60d9b249b409457d4fbb5b9396e (diff) | |
download | u-boot-b7b206706208a0c7509b7addda7c5f15c7b2fec6.tar.xz |
colibri_t20: fix reset out pin
Make sure SODIMM pin 87 nRESET_OUT is released properly by explicitly
setting its pin mux function to GMI. This solves some issues with e.g.
USB not being fully operational on carrier boards with USB hubs
connected to reset if U-Boot got loaded via recovery mode aka rcm.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/toradex/colibri_t20/colibri_t20.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/toradex/colibri_t20/colibri_t20.c b/board/toradex/colibri_t20/colibri_t20.c index 42b293d..83e1ddc 100644 --- a/board/toradex/colibri_t20/colibri_t20.c +++ b/board/toradex/colibri_t20/colibri_t20.c @@ -51,6 +51,9 @@ int arch_misc_init(void) return err; } + /* make sure SODIMM pin 87 nRESET_OUT is released properly */ + pinmux_set_func(PMUX_PINGRP_ATA, PMUX_FUNC_GMI); + if (readl(NV_PA_BASE_SRAM + NVBOOTINFOTABLE_BOOTTYPE) == NVBOOTTYPE_RECOVERY) printf("USB recovery mode\n"); |