From: Simon Glass Date: Tue, 20 May 2014 12:01:40 +0000 (-0600) Subject: exynos: Enable PSHOLD in SPL X-Git-Tag: v2014.07-rc3~4^2~2^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb0dd9986c3883820ff888c3738b013c0a7d918c;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: Lukasz Majewski Signed-off-by: Minkyu Kang --- diff --git a/arch/arm/cpu/armv7/exynos/lowlevel_init.c b/arch/arm/cpu/armv7/exynos/lowlevel_init.c index 11fe5b8..48b5511 100644 --- a/arch/arm/cpu/armv7/exynos/lowlevel_init.c +++ b/arch/arm/cpu/armv7/exynos/lowlevel_init.c @@ -48,6 +48,8 @@ int do_lowlevel_init(void) arch_cpu_init(); + set_ps_hold_ctrl(); + reset_status = get_reset_status(); switch (reset_status) {