24 #include <linux/types.h>
28 #include <linux/module.h>
33 #include <asm/setup.h>
41 #include <mach/hardware.h>
42 #include <mach/board.h>
50 static void __init ek_init_early(
void)
72 #ifndef CONFIG_MTD_AT91_DATAFLASH_CARD
84 .modalias =
"mtd_dataflash",
86 .max_speed_hz = 15 * 1000 * 1000,
88 #ifdef CONFIG_MTD_AT91_DATAFLASH_CARD
90 .modalias =
"mtd_dataflash",
92 .max_speed_hz = 15 * 1000 * 1000,
106 #define EK_FLASH_BASE AT91_CHIPSELECT_0
107 #define EK_FLASH_SIZE SZ_8M
113 static struct resource ek_flash_resource = {
120 .name =
"physmap-flash",
123 .platform_data = &ek_flash_data,
125 .resource = &ek_flash_resource,
129 static struct gpio_led ek_leds[] = {
134 .default_trigger =
"mmc0",
140 .default_trigger =
"heartbeat",
149 static void __init ek_board_init(
void)
171 #ifdef CONFIG_MTD_AT91_DATAFLASH_CARD
192 .init_early = ek_init_early,
194 .init_machine = ek_board_init,