diff options
author | Bob Liu <lliubbo@gmail.com> | 2012-06-05 05:20:32 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-07-24 01:39:50 -0400 |
commit | 3fa8c4b0334fe582b4dd9137199870e4322cd743 (patch) | |
tree | 59e897621a7734653bc82c2e2346a4a9ee049483 /arch/blackfin/mach-bf609 | |
parent | f794d7ba884ffdde063273a97045a6b8d05aa94c (diff) |
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 <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf609')
-rw-r--r-- | arch/blackfin/mach-bf609/boards/ezkit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf609/boards/ezkit.c b/arch/blackfin/mach-bf609/boards/ezkit.c index 6b569a000104..b078d5a4d82e 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 = { | |||
682 | .parts = ezkit_partitions, | 682 | .parts = ezkit_partitions, |
683 | .init = bf609_nor_flash_init, | 683 | .init = bf609_nor_flash_init, |
684 | .nr_parts = ARRAY_SIZE(ezkit_partitions), | 684 | .nr_parts = ARRAY_SIZE(ezkit_partitions), |
685 | #ifdef CONFIG_ROMKERNEL | ||
686 | .probe_type = "map_rom", | ||
687 | #endif | ||
685 | }; | 688 | }; |
686 | 689 | ||
687 | static struct resource ezkit_flash_resource = { | 690 | static struct resource ezkit_flash_resource = { |