• S
    dm: x86: Create a driver for x86 interrupts · e76187a3
    Simon Glass 提交于
    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: NSimon Glass <sjg@chromium.org>
    Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
    e76187a3
irq.c 6.4 KB