]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
exynos: Enable PSHOLD in SPL
authorSimon Glass <sjg@chromium.org>
Tue, 20 May 2014 12:01:40 +0000 (06:01 -0600)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 28 May 2014 01:58:19 +0000 (10:58 +0900)
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>
arch/arm/cpu/armv7/exynos/lowlevel_init.c

index 11fe5b8d0484c289c6d2bd93d14e1f17a4220b69..48b5511c42997af54598413bd49f878a22f45c45 100644 (file)
@@ -48,6 +48,8 @@ int do_lowlevel_init(void)
 
        arch_cpu_init();
 
+       set_ps_hold_ctrl();
+
        reset_status = get_reset_status();
 
        switch (reset_status) {