diff options
author | Michal Simek <michal.simek@xilinx.com> | 2019-12-03 17:02:50 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-01-14 11:05:53 +0300 |
commit | e82024def64569bd7cabb430b4cef9a4c102f2be (patch) | |
tree | e9ff522f48ff611690df50af3457e2b776bd0311 /arch/arm/mach-zynqmp/spl.c | |
parent | fc274a593217de8f8450274275528c29c7678064 (diff) | |
download | u-boot-e82024def64569bd7cabb430b4cef9a4c102f2be.tar.xz |
arm64: zynqmp: Do not assing MIO34 that early on zcu100
MIO34 is connected to POWER_KILL signal. When MIO configuration is done in
psu_init() and this pin is assigned to PMU but PMU configuration is not
loaded yet. PMU gpio output is high that means board is powered off
immediately.
The patch is fixing this sequence that MIO34 stays assing to ps gpio IP.
PMU config is loaded in SPL and then pin assigned to PMU through
psu_post_config_data().
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynqmp/spl.c')
-rw-r--r-- | arch/arm/mach-zynqmp/spl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-zynqmp/spl.c b/arch/arm/mach-zynqmp/spl.c index a2079535a5..527646875a 100644 --- a/arch/arm/mach-zynqmp/spl.c +++ b/arch/arm/mach-zynqmp/spl.c @@ -13,6 +13,7 @@ #include <asm/io.h> #include <asm/spl.h> #include <asm/arch/hardware.h> +#include <asm/arch/psu_init_gpl.h> #include <asm/arch/sys_proto.h> void board_init_f(ulong dummy) @@ -53,6 +54,7 @@ void spl_board_init(void) preloader_console_init(); ps_mode_reset(MODE_RESET); board_init(); + psu_post_config_data(); } #endif |