Skip to content

Commit

Permalink
blackfin: bf609-ezkit: add probe_type for norflash
Browse files Browse the repository at this point in the history
Set .probe_type = "map_rom" for norflash so that xip_test can run
correctly.

Signed-off-by: Bob Liu <lliubbo@gmail.com>
  • Loading branch information
Bob Liu committed Jul 24, 2012
1 parent f794d7b commit 3fa8c4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/blackfin/mach-bf609/boards/ezkit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 3fa8c4b

Please sign in to comment.