23 #include <linux/types.h>
27 #include <linux/module.h>
32 #include <mach/hardware.h>
33 #include <asm/setup.h>
41 #include <mach/board.h>
49 static void __init cam60_init_early(
void)
68 #if defined(CONFIG_MTD_DATAFLASH)
86 .name =
"file system",
94 .parts = cam60_spi_partitions,
100 #if defined(CONFIG_MTD_DATAFLASH)
102 .modalias =
"mtd_dataflash",
104 .max_speed_hz = 15 * 1000 * 1000,
106 .platform_data = &cam60_spi_flash_platform_data
124 static struct mtd_partition __initdata cam60_nand_partition[] = {
139 .parts = cam60_nand_partition,
140 .num_parts =
ARRAY_SIZE(cam60_nand_partition),
146 .ncs_write_setup = 0,
151 .ncs_write_pulse = 3,
161 static void __init cam60_add_device_nand(
void)
170 static void __init cam60_board_init(
void)
185 cam60_add_device_nand();
193 .init_early = cam60_init_early,
195 .init_machine = cam60_board_init,