0001
0002
0003
0004
0005
0006
0007
0008
0009 #include <linux/kernel.h>
0010 #include <linux/init.h>
0011 #include <linux/platform_device.h>
0012 #include <linux/sizes.h>
0013
0014 #include "hardware.h"
0015
0016 #include <asm/mach-types.h>
0017 #include <asm/mach/arch.h>
0018
0019 #include "soc.h"
0020
0021 static struct ep93xx_eth_data __initdata gesbc9312_eth_data = {
0022 .phy_id = 1,
0023 };
0024
0025 static void __init gesbc9312_init_machine(void)
0026 {
0027 ep93xx_init_devices();
0028 ep93xx_register_flash(4, EP93XX_CS6_PHYS_BASE, SZ_8M);
0029 ep93xx_register_eth(&gesbc9312_eth_data, 0);
0030 }
0031
0032 MACHINE_START(GESBC9312, "Glomation GESBC-9312-sx")
0033
0034 .atag_offset = 0x100,
0035 .nr_irqs = NR_EP93XX_IRQS,
0036 .map_io = ep93xx_map_io,
0037 .init_irq = ep93xx_init_irq,
0038 .init_time = ep93xx_timer_init,
0039 .init_machine = gesbc9312_init_machine,
0040 .restart = ep93xx_restart,
0041 MACHINE_END