Commit eb0dd9986c3883820ff888c3738b013c0a7d918c

Authored by Simon Glass
Committed by Minkyu Kang
1 parent 0f2e739c99

exynos: Enable PSHOLD in SPL

There is quite a tight deadline in enabling PSHOLD, less than a second.
In some cases (e.g. with USB download), U-Boot takes longer than that
to load, so the board powers off before U-Boot starts.

Add a call in SPL to enable PSHOLD.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

arch/arm/cpu/armv7/exynos/lowlevel_init.c
... ... @@ -48,6 +48,8 @@
48 48  
49 49 arch_cpu_init();
50 50  
  51 + set_ps_hold_ctrl();
  52 +
51 53 reset_status = get_reset_status();
52 54  
53 55 switch (reset_status) {