aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-06-12 01:26:46 -0700
committerBin Meng <bmeng.cn@gmail.com>2018-06-13 09:50:57 +0800
commit51050ff0a239f2640467d4c2fe54e0e8679a4093 (patch)
tree538eaae07bfce8242a13905db8c0e6a6b1f1c883 /lib
parentdcec5d565a20e025d843828d8424851d0271677b (diff)
downloadu-boot-51050ff0a239f2640467d4c2fe54e0e8679a4093.zip
u-boot-51050ff0a239f2640467d4c2fe54e0e8679a4093.tar.gz
u-boot-51050ff0a239f2640467d4c2fe54e0e8679a4093.tar.bz2
x86: irq: Support discrete PIRQ routing registers via device tree
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 new device tree property intel,pirq-regmap to describe how the PIRQ routing register offset is mapped to the link number and adjust the irq router driver to utilize the mapping. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions