
On Mon, Dec 14, 2015 at 2:05 PM, Bin Meng bmeng.cn@gmail.com wrote:
Hi Simon,
On Tue, Dec 1, 2015 at 12:46 PM, Simon Glass sjg@chromium.org wrote:
It seems likely that at some point we will want a generic interrupt uclass. But this is a big undertaking as it involves unifying code across multiple architectures.
As a first step, create a simple IRQ uclass and a driver for x86. This can be generalised later as required.
Adjust pirq_init() to probe this driver, which has the effect of creating routing tables and setting up the interrupt routing. This is a start towards making interrupts fit better with driver model.
Signed-off-by: Simon Glass sjg@chromium.org
Reviewed-by: Bin Meng bmeng.cn@gmail.com
I will test this series when all previous DM changes are applied.
Apply this patch manually on top of dm/next, tested on Crown Bay
Tested-by: Bin Meng bmeng.cn@gmail.com