23 #include <linux/types.h>
27 #include <linux/module.h>
31 #include <mach/hardware.h>
32 #include <asm/setup.h>
40 #include <mach/board.h>
48 static void __init ek_init_early(
void)
76 #if !IS_ENABLED(CONFIG_MMC_ATMELMCI)
78 .modalias =
"mtd_dataflash",
80 .max_speed_hz = 15 * 1000 * 1000,
83 #if defined(CONFIG_MTD_AT91_DATAFLASH_CARD)
85 .modalias =
"mtd_dataflash",
87 .max_speed_hz = 15 * 1000 * 1000,
109 .name =
"Bootloader Area",
127 .parts = ek_nand_partition,
134 .ncs_write_setup = 0,
139 .ncs_write_pulse = 3,
149 static void __init ek_add_device_nand(
void)
172 static struct gpio_led ek_leds[] = {
177 .default_trigger =
"heartbeat",
183 .default_trigger =
"timer",
187 static void __init ek_board_init(
void)
208 ek_add_device_nand();
224 .init_early = ek_init_early,
226 .init_machine = ek_board_init,