mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>
This commit is contained in:
parent
f794d7ba88
commit
3fa8c4b033
@ -682,6 +682,9 @@ static struct physmap_flash_data ezkit_flash_data = {
|
|||||||
.parts = ezkit_partitions,
|
.parts = ezkit_partitions,
|
||||||
.init = bf609_nor_flash_init,
|
.init = bf609_nor_flash_init,
|
||||||
.nr_parts = ARRAY_SIZE(ezkit_partitions),
|
.nr_parts = ARRAY_SIZE(ezkit_partitions),
|
||||||
|
#ifdef CONFIG_ROMKERNEL
|
||||||
|
.probe_type = "map_rom",
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct resource ezkit_flash_resource = {
|
static struct resource ezkit_flash_resource = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user