common: Move interrupt functions into a new header
authorSimon Glass <sjg@chromium.org>
Thu, 14 Nov 2019 19:57:41 +0000 (12:57 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 2 Dec 2019 23:25:00 +0000 (18:25 -0500)
commitc30b7adbcaa88511e7f6095e0683d83cc958bb30
treeb39050133cf2b6336c13bbcb7ee4eea342f697ec
parent9d3915b2dfe9bf5c9b09ba9119a194ff87746107
common: Move interrupt functions into a new header

These functions do not use driver model but are fairly widely used in
U-Boot. But it is not clear that they will use driver model anytime soon,
so we don't want to label them as 'legacy'.

Move them to a new irq_func.h header file. Avoid the name 'irq.h' since it
is widely used in U-Boot already.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
42 files changed:
arch/arc/lib/interrupts.c
arch/arm/lib/interrupts.c
arch/arm/lib/interrupts_64.c
arch/arm/lib/interrupts_m.c
arch/m68k/cpu/mcf5227x/interrupts.c
arch/m68k/cpu/mcf523x/interrupts.c
arch/m68k/cpu/mcf52x2/interrupts.c
arch/m68k/cpu/mcf530x/interrupts.c
arch/m68k/cpu/mcf532x/interrupts.c
arch/m68k/cpu/mcf5445x/interrupts.c
arch/m68k/cpu/mcf547x_8x/interrupts.c
arch/m68k/cpu/mcf547x_8x/slicetimer.c
arch/m68k/lib/interrupts.c
arch/m68k/lib/time.c
arch/microblaze/cpu/interrupts.c
arch/mips/cpu/interrupts.c
arch/mips/mach-jz47xx/jz4780/timer.c
arch/nds32/cpu/n1213/ag101/timer.c
arch/nds32/lib/interrupts.c
arch/nios2/cpu/interrupts.c
arch/powerpc/cpu/mpc83xx/interrupts.c
arch/powerpc/cpu/mpc85xx/interrupts.c
arch/powerpc/cpu/mpc85xx/traps.c
arch/powerpc/cpu/mpc86xx/interrupts.c
arch/powerpc/cpu/mpc8xx/interrupts.c
arch/powerpc/lib/interrupts.c
arch/riscv/lib/interrupts.c
arch/sandbox/lib/interrupts.c
arch/sh/cpu/sh4/interrupts.c
arch/x86/cpu/i386/interrupt.c
arch/x86/cpu/x86_64/interrupts.c
arch/x86/lib/bios.c
arch/x86/lib/interrupts.c
arch/x86/lib/spl.c
arch/xtensa/cpu/exceptions.c
common/board_r.c
common/spl/spl.c
drivers/mtd/cfi_flash.c
drivers/timer/mpc83xx_timer.c
include/common.h
include/exports.h
include/irq_func.h [new file with mode: 0644]