u-boot/arch/sandbox
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
..
cpu common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
dts dm: Increased separation of ofdata_to_platdata() and probe methods 2020-01-09 08:52:21 -05:00
include/asm dm: irq: Add support for interrupt controller types 2020-02-07 22:44:59 +08:00
lib common: Move interrupt functions into a new header 2019-12-02 18:25:00 -05:00
config.mk efi_loader: support building UEFI binaries on sandbox 2019-11-12 23:13:54 +01:00
Kconfig sandbox: Add 64-bit sandbox 2018-02-18 15:53:48 -07:00
Makefile sandbox: Use 'extras' to specify 'head' files 2018-12-05 06:01:34 -07:00