blob: b236fcc023ac0f9efbb59a3d7fb358c658e4c2f8 [file] [log] [blame]
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +05301/*
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>
Tony Lindgren4e653312011-11-10 22:45:17 +010025#include "common.h"
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053026
27static struct omap_board_config_kernel ti8168_evm_config[] __initdata = {
28};
29
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053030static void __init ti8168_evm_init(void)
31{
32 omap_serial_init();
Tony Lindgrena4ca9db2011-08-22 23:57:23 -070033 omap_sdrc_init(NULL, NULL);
Tony Lindgrene41cccf2011-02-24 14:36:03 -080034 omap_board_config = ti8168_evm_config;
35 omap_board_config_size = ARRAY_SIZE(ti8168_evm_config);
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053036}
37
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053038MACHINE_START(TI8168EVM, "ti8168evm")
39 /* Maintainer: Texas Instruments */
Nicolas Pitre5e52b432011-07-05 22:38:15 -040040 .atag_offset = 0x100,
Hemant Pedanekara9203602011-12-13 10:46:44 -080041 .map_io = ti81xx_map_io,
42 .init_early = ti81xx_init_early,
43 .init_irq = ti81xx_init_irq,
Tony Lindgrene74984e2011-03-29 15:54:48 -070044 .timer = &omap3_timer,
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +053045 .init_machine = ti8168_evm_init,
46MACHINE_END