]> git.sur5r.net Git - u-boot/commit
x86: irq: Parse number of PIRQ links from device tree
authorBin Meng <bmeng.cn@gmail.com>
Tue, 12 Jun 2018 08:26:45 +0000 (01:26 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 13 Jun 2018 01:50:57 +0000 (09:50 +0800)
commitdcec5d565a20e025d843828d8424851d0271677b
tree415eeabaa69bacae3fd356139746e28012301a75
parent558f3ed9c8d54c7b04db391d7585c7bdbdb3a369
x86: irq: Parse number of PIRQ links from device tree

The "intel,pirq-link" property in Intel IRQ router's dt bindings
has two cells, where the second one represents the number of PIRQ
links on the platform. However current driver does not parse this
information from device tree. This adds the codes to do the parse
and save it for future use.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/irq.c
arch/x86/include/asm/irq.h