board-ti8168evm.c 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * Code for TI8168 EVM.
  3. *
  4. * Copyright (C) 2010 Texas Instruments, Inc. - http://www.ti.com/
  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 as
  8. * published by the Free Software Foundation version 2.
  9. *
  10. * This program is distributed "as is" WITHOUT ANY WARRANTY of any
  11. * kind, whether express or implied; without even the implied warranty
  12. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. */
  15. #include <linux/kernel.h>
  16. #include <linux/init.h>
  17. #include <mach/hardware.h>
  18. #include <asm/mach-types.h>
  19. #include <asm/mach/arch.h>
  20. #include <asm/mach/map.h>
  21. #include <plat/irqs.h>
  22. #include <plat/board.h>
  23. #include <plat/common.h>
  24. static struct omap_board_config_kernel ti8168_evm_config[] __initdata = {
  25. };
  26. static void __init ti8168_evm_init(void)
  27. {
  28. omap_serial_init();
  29. omap_sdrc_init(NULL, NULL);
  30. omap_board_config = ti8168_evm_config;
  31. omap_board_config_size = ARRAY_SIZE(ti8168_evm_config);
  32. }
  33. static void __init ti8168_evm_map_io(void)
  34. {
  35. omap2_set_globals_ti816x();
  36. omapti816x_map_common_io();
  37. }
  38. MACHINE_START(TI8168EVM, "ti8168evm")
  39. /* Maintainer: Texas Instruments */
  40. .boot_params = 0x80000100,
  41. .map_io = ti8168_evm_map_io,
  42. .init_early = ti816x_init_early,
  43. .init_irq = ti816x_init_irq,
  44. .timer = &omap3_timer,
  45. .init_machine = ti8168_evm_init,
  46. MACHINE_END