[U-Boot] [PATCH 11/13] x86: irq: Introduce CONFIG_DISCRETE_PIRQ_ROUT
Simon Glass
sjg at chromium.org
Thu Jun 7 20:34:01 UTC 2018
Hi Bin,
On 3 June 2018 at 18:04, Bin Meng <bmeng.cn at 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.cn at 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
More information about the U-Boot
mailing list