On 22 June 2015 at 22:18, Bin Meng <[email protected]> wrote: > I/O APIC registers are addressed indirectly. Add io_apic_read() and > io_apic_write() routines to help register access. Two macros for I/O > APIC ID and version register offset are also added. > > Signed-off-by: Bin Meng <[email protected]> > > --- > > Changes in v2: > - Do not use inline for register access > > arch/x86/cpu/Makefile | 2 +- > arch/x86/cpu/ioapic.c | 21 +++++++++++++++++++++ > arch/x86/include/asm/ioapic.h | 24 ++++++++++++++++++++++++ > 3 files changed, 46 insertions(+), 1 deletion(-) > create mode 100644 arch/x86/cpu/ioapic.c
Acked-by: Simon Glass <[email protected]> _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

