[U-Boot] [PATCH] Exynos: Make sure ps_hold gets set in the SPL

Simon Glass sjg at chromium.org
Sat May 24 02:11:32 CEST 2014


On 22 May 2014 01:53, Akshay Saraswat <akshay.s at samsung.com> wrote:
> From: Doug Anderson <dianders at chromium.org>
>
> Setting ps_hold ought to be one of the first things we do when we
> first boot up. If we wait until the main u-boot runs we won't set it
> in time and the PMIC may power us back off.
>
> Moving ps_hold setup into the generic power_init() which
> should contain code that's currently duplicated in the
> board_power_init() of several boards.
>
> Signed-off-by: Doug Anderson <dianders at chromium.org>
> Signed-off-by: Akshay Saraswat <akshay.s at samsung.com>
> ---
>  arch/arm/cpu/armv7/exynos/lowlevel_init.c |  6 +++++-
>  arch/arm/cpu/armv7/exynos/power.c         | 14 ++++++++++++++
>  arch/arm/include/asm/arch-exynos/power.h  |  8 ++++++++
>  3 files changed, 27 insertions(+), 1 deletion(-)

Acked-by: Simon Glass <sjg at chromium.org>

Also see http://patchwork.ozlabs.org/patch/350693/ but your patch is better.

Regards,
Simon


More information about the U-Boot mailing list