From: Bob Liu Date: Tue, 5 Jun 2012 09:20:32 +0000 (+0800) Subject: blackfin: bf609-ezkit: add probe_type for norflash X-Git-Tag: v3.6-rc1~127^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3fa8c4b0334fe582b4dd9137199870e4322cd743;p=platform%2Fkernel%2Flinux-stable.git blackfin: bf609-ezkit: add probe_type for norflash Set .probe_type = "map_rom" for norflash so that xip_test can run correctly. Signed-off-by: Bob Liu --- diff --git a/arch/blackfin/mach-bf609/boards/ezkit.c b/arch/blackfin/mach-bf609/boards/ezkit.c index 6b569a0..b078d5a 100644 --- a/arch/blackfin/mach-bf609/boards/ezkit.c +++ b/arch/blackfin/mach-bf609/boards/ezkit.c @@ -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 = {