blackfin: bf609-ezkit: add probe_type for norflash
authorBob Liu <lliubbo@gmail.com>
Tue, 5 Jun 2012 09:20:32 +0000 (17:20 +0800)
committerBob Liu <lliubbo@gmail.com>
Tue, 24 Jul 2012 05:39:50 +0000 (13:39 +0800)
Set .probe_type = "map_rom" for norflash so that xip_test can run
correctly.

Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/mach-bf609/boards/ezkit.c

index 6b569a000104727fd54ebab4e2d0b730d5815409..b078d5a4d82e7c3ee8ce70ab0381873870eed7b5 100644 (file)
@@ -682,6 +682,9 @@ static struct physmap_flash_data ezkit_flash_data = {
        .parts      = ezkit_partitions,
        .init       = bf609_nor_flash_init,
        .nr_parts   = ARRAY_SIZE(ezkit_partitions),
+#ifdef CONFIG_ROMKERNEL
+       .probe_type = "map_rom",
+#endif
 };
 
 static struct resource ezkit_flash_resource = {