Commit | Line | Data |
---|---|---|
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> | |
4e65331c | 25 | #include "common.h" |
2c87fb2e HP |
26 | |
27 | static struct omap_board_config_kernel ti8168_evm_config[] __initdata = { | |
28 | }; | |
29 | ||
2c87fb2e HP |
30 | static void __init ti8168_evm_init(void) |
31 | { | |
32 | omap_serial_init(); | |
a4ca9dbe | 33 | omap_sdrc_init(NULL, NULL); |
e41cccfe TL |
34 | omap_board_config = ti8168_evm_config; |
35 | omap_board_config_size = ARRAY_SIZE(ti8168_evm_config); | |
2c87fb2e HP |
36 | } |
37 | ||
38 | static void __init ti8168_evm_map_io(void) | |
39 | { | |
2c87fb2e HP |
40 | omapti816x_map_common_io(); |
41 | } | |
42 | ||
43 | MACHINE_START(TI8168EVM, "ti8168evm") | |
44 | /* Maintainer: Texas Instruments */ | |
5e52b435 | 45 | .atag_offset = 0x100, |
2c87fb2e | 46 | .map_io = ti8168_evm_map_io, |
8f5b5a41 | 47 | .init_early = ti816x_init_early, |
741e3a89 | 48 | .init_irq = ti816x_init_irq, |
e74984e4 | 49 | .timer = &omap3_timer, |
2c87fb2e HP |
50 | .init_machine = ti8168_evm_init, |
51 | MACHINE_END |