diff options
author | Simon Glass <sjg@chromium.org> | 2014-05-20 06:01:40 -0600 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-05-28 10:58:19 +0900 |
commit | eb0dd9986c3883820ff888c3738b013c0a7d918c (patch) | |
tree | 5b912a2880b48f82e87f0cc3a563f6b53cc233cd | |
parent | 0f2e739c99fde8cec8378f05907fb4f12ccdfbc0 (diff) | |
download | u-boot-imx-eb0dd9986c3883820ff888c3738b013c0a7d918c.zip u-boot-imx-eb0dd9986c3883820ff888c3738b013c0a7d918c.tar.gz u-boot-imx-eb0dd9986c3883820ff888c3738b013c0a7d918c.tar.bz2 |
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>
-rw-r--r-- | arch/arm/cpu/armv7/exynos/lowlevel_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |