[PATCH 3/3] sunxi: fel: drop redundant "control register" save/restore

Samuel Holland samuel at sholland.org
Sun Jan 8 21:40:08 CET 2023


On 7/13/22 10:27, Andre Przywara wrote:
> For some reasons shrouded in mystery, the code saving the FEL state was
> saving the SCTLR register twice, with the second copy trying to justify
> itself by using its ancient "control register" alias name.
> 
> Drop the redundant second copy, both from the fel_stash data structure,
> and also the code saving and restoring it.
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
> ---
>  arch/arm/cpu/armv7/sunxi/fel_utils.S | 4 ----
>  arch/arm/mach-sunxi/board.c          | 1 -
>  2 files changed, 5 deletions(-)

Reviewed-by: Samuel Holland <samuel at sholland.org>
Tested-by: Samuel Holland <samuel at sholland.org>



More information about the U-Boot mailing list