Thomas Gleixner | c751e17 | 2010-11-09 12:08:04 -0800 | [diff] [blame^] | 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 | } |