[PATCH 1/2] Add MPC52xx Interrupt controller support for ARCH=powerpc

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Oct 31 18:58:38 EST 2006


On Tue, 2006-10-31 at 08:49 +0100, Nicolas DET wrote:

> In this case: shouldn't the platform init correctly setup the hw instead 
> of the Firmware?

No. The device-tree contains the polarity information, it gets passed to
the PIC driver via set_irq_type() anyway so there is no need in theory
to have the HW initialized by the firmware if that is implemented. In
the case where it's not, however, you indeed need to make sure the
firmware have programmed the same settings in the HW as are exposed in
the device-tree.

Ben.




More information about the Linuxppc-dev mailing list