23 #include <linux/types.h>
27 #include <linux/module.h>
31 #include <linux/input.h>
34 #include <asm/setup.h>
42 #include <mach/hardware.h>
43 #include <mach/board.h>
52 static void __init ek_init_early(
void)
79 #if defined(CONFIG_RTC_DRV_M41T94)
83 .max_speed_hz = 1 * 1000 * 1000,
102 .name =
"Uboot & Kernel",
126 .parts = ek_nand_partition,
133 .ncs_write_setup = 0,
138 .ncs_write_pulse = 3,
148 static void __init ek_add_device_nand(
void)
170 #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
191 .platform_data = &ek_button_data,
195 static void __init ek_add_device_buttons(
void)
203 static void __init ek_add_device_buttons(
void) {}
209 static struct gpio_led ek_leds[] = {
214 .default_trigger =
"heartbeat",
218 static void __init ek_board_init(
void)
242 ek_add_device_nand();
250 ek_add_device_buttons();
263 .init_early = ek_init_early,
265 .init_machine = ek_board_init,