ce4100.c 955 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. #include <asm/setup.h>
  16. static int ce4100_i8042_detect(void)
  17. {
  18. return 0;
  19. }
  20. static void __init sdv_arch_setup(void)
  21. {
  22. }
  23. static void __init sdv_find_smp_config(void)
  24. {
  25. }
  26. /*
  27. * CE4100 specific x86_init function overrides and early setup
  28. * calls.
  29. */
  30. void __init x86_ce4100_early_setup(void)
  31. {
  32. x86_init.oem.arch_setup = sdv_arch_setup;
  33. x86_platform.i8042_detect = ce4100_i8042_detect;
  34. x86_init.resources.probe_roms = x86_init_noop;
  35. x86_init.mpparse.get_smp_config = x86_init_uint_noop;
  36. x86_init.mpparse.find_smp_config = sdv_find_smp_config;
  37. }