x86: Add a function to set the IOAPIC ID
authorSimon Glass <sjg@chromium.org>
Sat, 12 Mar 2016 05:07:34 +0000 (22:07 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:27 +0000 (10:27 +0800)
commit1cb1611fc6e6223b5281e5e0187855eb0b9f719d
tree68e9990c5b08199d7759bdb1914a990665b5f2e0
parentf21069ff8aea4faee7849b9e821587f95c23434d
x86: Add a function to set the IOAPIC ID

Add a function to set the ID in the IOAPIC.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/ioapic.c
arch/x86/include/asm/ioapic.h