]> git.dujemihanovic.xyz Git - u-boot.git/commit
common/board_r: arm: Merge initr_enable_interrupts into interrupts_init
authorOvidiu Panait <ovpanait@gmail.com>
Mon, 20 Apr 2020 07:31:44 +0000 (10:31 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 1 May 2020 15:34:01 +0000 (11:34 -0400)
commit5cf9e3b237f24e66ff1a657e954ffe3dc92e09eb
treefc10bdfe35a8b2d058d8b4b886159b104c2865ae
parent9297e366d6a847f7ac64f4ec7102b236d8ebe1f4
common/board_r: arm: Merge initr_enable_interrupts into interrupts_init

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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/interrupts.c
arch/arm/lib/interrupts_64.c
arch/arm/lib/interrupts_m.c
common/board_r.c