Hi Bin, On 3 June 2018 at 18:04, Bin Meng <bmeng...@gmail.com> wrote: > Currently both pirq_reg_to_linkno() and pirq_linkno_to_reg() assume > consecutive PIRQ routing control registers. But this is not always > the case on some platforms. Introduce a Kconfig option for this and > adjust the irq router driver to be able to use platform-specific > converting logic. > > Signed-off-by: Bin Meng <bmeng...@gmail.com> > --- > > arch/x86/Kconfig | 9 +++++++++ > arch/x86/cpu/irq.c | 3 +++ > arch/x86/include/asm/irq.h | 2 ++ > 3 files changed, 14 insertions(+)
Wouldn't it make sense to put the mapping in the device tree? Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot