u-boot/arch
Simon Glass ba87607971 dm: irq: Add support for interrupt controller types
There can be different types of interrupt controllers in a system and some
drivers may need to distinguish between these. In general this can be
handled using the device tree by adding the interrupt information to
device nodes.

However on x86 devices we have interrupt controllers which are not tied
to any particular device and not really used in U-Boot. These still need
to be inited, so a convenient method is to give each controller a type
and allow a particular controller type to be probed.

Add support for this in sandbox along with a test.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: remove the new bland line at EOF of test/dm/irq.c]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2020-02-07 22:44:59 +08:00
..
arc common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
arm Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq 2020-02-05 07:19:52 -05:00
m68k common: Move clock functions into a new file 2020-01-24 23:06:48 +05:30
microblaze common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
mips common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
nds32 asm: dma-mapping.h: Fix dma mapping functions 2020-01-25 12:04:36 -05:00
nios2 common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
powerpc common: Move hang() to the same header as panic() 2020-01-24 23:06:49 +05:30
riscv asm: dma-mapping.h: Fix dma mapping functions 2020-01-25 12:04:36 -05:00
sandbox dm: irq: Add support for interrupt controller types 2020-02-07 22:44:59 +08:00
sh common: Move reset_cpu() to the CPU header 2020-01-24 23:06:49 +05:30
x86 x86: apl: Drop the I2C config in FSP-S 2020-02-07 22:41:24 +08:00
xtensa common: Move relocate_code() to init.h 2020-01-24 23:06:48 +05:30
.gitignore
Kconfig x86: Enable pinctrl in SPL and TPL 2019-12-15 11:44:24 +08:00