Example #1
0
static void pcm051_nand_init(void)
{
	pcm051_enable_nand_pin_mux();

	gpmc_generic_init(0x12);

	omap_add_gpmc_nand_device(&nand_plat);
}
static void pcm051_nand_init(void)
{
    pcm051_enable_nand_pin_mux();

    gpmc_generic_init(0x12);

    add_generic_device("elm", 0, NULL, 0x48080000, SZ_64K,
                       IORESOURCE_MEM, NULL);

    omap_add_gpmc_nand_device(&nand_plat);
}