summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/i8259.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2014-11-20 16:11:16 +0800
committerSimon Glass <sjg@chromium.org>2014-11-25 06:34:02 -0700
commit1dae2e0eb660553fd18870b53e4c43bd56414e3b (patch)
treea4680bc0f20291f016a711730b801a052ec2941a /arch/x86/include/asm/i8259.h
parenta549f7497b4d719d37e4a20378c81c1b29bf0404 (diff)
downloadu-boot-imx-1dae2e0eb660553fd18870b53e4c43bd56414e3b.zip
u-boot-imx-1dae2e0eb660553fd18870b53e4c43bd56414e3b.tar.gz
u-boot-imx-1dae2e0eb660553fd18870b53e4c43bd56414e3b.tar.bz2
x86: Refactor interrupt_init()
Rename interrupt_init() in arch/x86/lib/pcat_interrupts.c to i8259_init() and create a new interrupt_init() in arch/x86/cpu/interrupt.c to call i8259_init() followed by a call to cpu_init_interrupts(). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/i8259.h')
-rw-r--r--arch/x86/include/asm/i8259.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/i8259.h b/arch/x86/include/asm/i8259.h
index 73113f9..bc4033b 100644
--- a/arch/x86/include/asm/i8259.h
+++ b/arch/x86/include/asm/i8259.h
@@ -69,4 +69,6 @@
#define ICW4_AEOI 0x02 /* Automatic EOI Mode */
#define ICW4_PM 0x01 /* Microprocessor Mode */
+int i8259_init(void);
+
#endif