[PATCH 1/3] common/board_r: arm: Merge initr_enable_interrupts into interrupts_init

Simon Glass sjg at chromium.org
Mon Apr 20 01:38:24 CEST 2020


On Sat, 18 Apr 2020 at 00:08, Ovidiu Panait <ovpanait at gmail.com> wrote:
>
> initr_enable_interrupts() is an ARM-specific wrapper over enable_interrupts(),
> which is run during the common init sequence. It can be eliminated by moving
> the enable_interrupts() call to the end of interrupt_init() function, in
> arch/arm/lib/interrupts*.c.
>
> Signed-off-by: Ovidiu Panait <ovpanait at gmail.com>
> ---
>  arch/arm/lib/interrupts.c    |  2 ++
>  arch/arm/lib/interrupts_64.c |  2 ++
>  arch/arm/lib/interrupts_m.c  |  2 ++
>  common/board_r.c             | 12 ------------
>  4 files changed, 6 insertions(+), 12 deletions(-)
>

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


More information about the U-Boot mailing list