diff options
author | Ovidiu Panait <ovpanait@gmail.com> | 2020-04-20 10:31:44 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-01 11:34:01 -0400 |
commit | 5cf9e3b237f24e66ff1a657e954ffe3dc92e09eb (patch) | |
tree | fc10bdfe35a8b2d058d8b4b886159b104c2865ae /arch/arm/lib/interrupts.c | |
parent | 9297e366d6a847f7ac64f4ec7102b236d8ebe1f4 (diff) |
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>
Diffstat (limited to 'arch/arm/lib/interrupts.c')
-rw-r--r-- | arch/arm/lib/interrupts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/lib/interrupts.c b/arch/arm/lib/interrupts.c index 6dbf03b00c..36299d6e54 100644 --- a/arch/arm/lib/interrupts.c +++ b/arch/arm/lib/interrupts.c @@ -34,6 +34,8 @@ int interrupt_init(void) */ IRQ_STACK_START_IN = gd->irq_sp + 8; + enable_interrupts(); + return 0; } |