Path: blob/master/arch/arm/mach-omap2/board-ti8168evm.c
10817 views
/*1* Code for TI8168 EVM.2*3* Copyright (C) 2010 Texas Instruments, Inc. - http://www.ti.com/4*5* This program is free software; you can redistribute it and/or6* modify it under the terms of the GNU General Public License as7* published by the Free Software Foundation version 2.8*9* This program is distributed "as is" WITHOUT ANY WARRANTY of any10* kind, whether express or implied; without even the implied warranty11* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12* GNU General Public License for more details.13*/14#include <linux/kernel.h>15#include <linux/init.h>1617#include <mach/hardware.h>18#include <asm/mach-types.h>19#include <asm/mach/arch.h>20#include <asm/mach/map.h>2122#include <plat/irqs.h>23#include <plat/board.h>24#include <plat/common.h>2526static struct omap_board_config_kernel ti8168_evm_config[] __initdata = {27};2829static void __init ti8168_init_early(void)30{31omap2_init_common_infrastructure();32omap2_init_common_devices(NULL, NULL);33}3435static void __init ti8168_evm_init_irq(void)36{37omap_init_irq();38}3940static void __init ti8168_evm_init(void)41{42omap_serial_init();43omap_board_config = ti8168_evm_config;44omap_board_config_size = ARRAY_SIZE(ti8168_evm_config);45}4647static void __init ti8168_evm_map_io(void)48{49omap2_set_globals_ti816x();50omapti816x_map_common_io();51}5253MACHINE_START(TI8168EVM, "ti8168evm")54/* Maintainer: Texas Instruments */55.boot_params = 0x80000100,56.map_io = ti8168_evm_map_io,57.init_early = ti8168_init_early,58.init_irq = ti8168_evm_init_irq,59.timer = &omap_timer,60.init_machine = ti8168_evm_init,61MACHINE_END626364