From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Thu, 27 Mar 2014 18:13:10 +0100 Subject: [U-Boot] [PATCH 06/10] exynos: Enable PSHOLD in SPL In-Reply-To: <1395856590-21917-7-git-send-email-sjg@chromium.org> References: <1395856590-21917-1-git-send-email-sjg@chromium.org> <1395856590-21917-7-git-send-email-sjg@chromium.org> Message-ID: <20140327181310.14c9a46f@amdc2363> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, > 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 > --- > > arch/arm/cpu/armv7/exynos/lowlevel_init.c | 2 ++ > 1 file changed, 2 insertions(+) > > 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) { Reviewed-by: Lukasz Majewski -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group