powerpc: 52xx: nop out unsupported critical IRQs
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 10 Oct 2012 23:19:15 +0000 (23:19 +0000)
committerAnatolij Gustschin <agust@denx.de>
Thu, 25 Oct 2012 20:05:32 +0000 (22:05 +0200)
commite34298c9a29a4b5bdcbb9a8994cc61f6ba506a94
tree7d83b082bcf91090e279c77b2d6d9bca277b7fb4
parentf4221a7a63abd1b6e358d19fe4d05e4d2e44e11a
powerpc: 52xx: nop out unsupported critical IRQs

Currently, when booting MPC52xx based platforms, we get:

        mpc52xx_irqhost_map: invalid irq: virq=16, l1=0, l2=3
        irq: irq-16==>hwirq-0x3 mapping failed: -22
        [WARNing skipped]

The warning is wrong since the mapping itself is valid. However, there is no
support for that type of IRQ currently. Print a proper warning and bind the irq
to a no_irq chip.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: John Bonesio <bones@secretlab.ca>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/powerpc/platforms/52xx/mpc52xx_pic.c