diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-11-09 15:08:04 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-11-11 18:45:41 -0500 |
commit | c751e17b5371ad86cdde6cf5c0175e06f3ff0347 (patch) | |
tree | 9ea4e3201df35ed59718bbbbbecb5ea2f0e4d510 /arch/x86/platform/ce4100/ce4100.c | |
parent | 6f207e9bb4219d261d9326597ca533f954f31755 (diff) |
x86: Add CE4100 platform support
Add CE4100 platform support. CE4100 needs early setup like
moorestown.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
LKML-Reference: <94720fd7f5564a12ebf202cf2c4f4c0d619aab35.1289331834.git.dirk.brandewie@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/platform/ce4100/ce4100.c')
-rw-r--r-- | arch/x86/platform/ce4100/ce4100.c | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/x86/platform/ce4100/ce4100.c b/arch/x86/platform/ce4100/ce4100.c new file mode 100644 index 000000000000..0ede12bde456 --- /dev/null +++ b/arch/x86/platform/ce4100/ce4100.c | |||
@@ -0,0 +1,42 @@ | |||
1 | /* | ||
2 | * Intel CE4100 platform specific setup code | ||
3 | * | ||
4 | * (C) Copyright 2010 Intel Corporation | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License | ||
8 | * as published by the Free Software Foundation; version 2 | ||
9 | * of the License. | ||
10 | */ | ||
11 | #include <linux/init.h> | ||
12 | #include <linux/kernel.h> | ||
13 | #include <linux/irq.h> | ||
14 | #include <linux/module.h> | ||
15 | |||
16 | #include <asm/setup.h> | ||
17 | |||
18 | static int ce4100_i8042_detect(void) | ||
19 | { | ||
20 | return 0; | ||
21 | } | ||
22 | |||
23 | static void __init sdv_arch_setup(void) | ||
24 | { | ||
25 | } | ||
26 | |||
27 | static void __init sdv_find_smp_config(void) | ||
28 | { | ||
29 | } | ||
30 | |||
31 | /* | ||
32 | * CE4100 specific x86_init function overrides and early setup | ||
33 | * calls. | ||
34 | */ | ||
35 | void __init x86_ce4100_early_setup(void) | ||
36 | { | ||
37 | x86_init.oem.arch_setup = sdv_arch_setup; | ||
38 | x86_platform.i8042_detect = ce4100_i8042_detect; | ||
39 | x86_init.resources.probe_roms = x86_init_noop; | ||
40 | x86_init.mpparse.get_smp_config = x86_init_uint_noop; | ||
41 | x86_init.mpparse.find_smp_config = sdv_find_smp_config; | ||
42 | } | ||