Path: blob/master/arch/arm/mach-ep93xx/adssphere.c
10817 views
/*1* arch/arm/mach-ep93xx/adssphere.c2* ADS Sphere support.3*4* Copyright (C) 2006 Lennert Buytenhek <[email protected]>5*6* This program is free software; you can redistribute it and/or modify7* it under the terms of the GNU General Public License as published by8* the Free Software Foundation; either version 2 of the License, or (at9* your option) any later version.10*/1112#include <linux/kernel.h>13#include <linux/init.h>14#include <linux/platform_device.h>1516#include <mach/hardware.h>1718#include <asm/mach-types.h>19#include <asm/mach/arch.h>202122static struct ep93xx_eth_data __initdata adssphere_eth_data = {23.phy_id = 1,24};2526static void __init adssphere_init_machine(void)27{28ep93xx_init_devices();29ep93xx_register_flash(4, EP93XX_CS6_PHYS_BASE, SZ_32M);30ep93xx_register_eth(&adssphere_eth_data, 1);31}3233MACHINE_START(ADSSPHERE, "ADS Sphere board")34/* Maintainer: Lennert Buytenhek <[email protected]> */35.boot_params = EP93XX_SDCE3_PHYS_BASE_SYNC + 0x100,36.map_io = ep93xx_map_io,37.init_irq = ep93xx_init_irq,38.timer = &ep93xx_timer,39.init_machine = adssphere_init_machine,40MACHINE_END414243