ARM: plat-nomadik: timer: Add support for periodic timers
[deliverable/linux.git] / arch / arm / mach-omap2 / board-ti8168evm.c
CommitLineData
2c87fb2e
HP
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
18#include <mach/hardware.h>
19#include <asm/mach-types.h>
20#include <asm/mach/arch.h>
21#include <asm/mach/map.h>
22
23#include <plat/irqs.h>
24#include <plat/board.h>
25#include <plat/common.h>
26
27static struct omap_board_config_kernel ti8168_evm_config[] __initdata = {
28};
29
e811d327 30static void __init ti8168_init_early(void)
2c87fb2e 31{
2c87fb2e
HP
32 omap2_init_common_infrastructure();
33 omap2_init_common_devices(NULL, NULL);
e811d327
TL
34}
35
2c87fb2e
HP
36static void __init ti8168_evm_init(void)
37{
38 omap_serial_init();
e41cccfe
TL
39 omap_board_config = ti8168_evm_config;
40 omap_board_config_size = ARRAY_SIZE(ti8168_evm_config);
2c87fb2e
HP
41}
42
43static void __init ti8168_evm_map_io(void)
44{
45 omap2_set_globals_ti816x();
46 omapti816x_map_common_io();
47}
48
49MACHINE_START(TI8168EVM, "ti8168evm")
50 /* Maintainer: Texas Instruments */
51 .boot_params = 0x80000100,
52 .map_io = ti8168_evm_map_io,
e811d327 53 .init_early = ti8168_init_early,
741e3a89 54 .init_irq = ti816x_init_irq,
e74984e4 55 .timer = &omap3_timer,
2c87fb2e
HP
56 .init_machine = ti8168_evm_init,
57MACHINE_END
This page took 0.061266 seconds and 5 git commands to generate.