[U-Boot] [PATCH v3 1/8] dm: x86: Create a driver for x86 interrupts

Bin Meng bmeng.cn at gmail.com
Thu Jan 21 03:06:26 CET 2016


On Wed, Jan 20, 2016 at 12:32 PM, Simon Glass <sjg at 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 at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
>  arch/x86/cpu/irq.c     | 25 +++++++++++++++++++++++++
>  include/dm/uclass-id.h |  1 +
>  2 files changed, 26 insertions(+)
>

applied to u-boot-x86/master, thanks!


More information about the U-Boot mailing list