diff options
author | Barry Song <barry.song@analog.com> | 2010-01-14 22:24:39 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:49 -0500 |
commit | 38e7673f24e6c19aba9ecff86760cb7981b91464 (patch) | |
tree | 011fac0dd82cf3d9b8f86d8c8fef3a3dece432cc /arch/blackfin/mach-bf537 | |
parent | 29bb3bc0c71d867d50b18a0277bf28cd8dd3fca7 (diff) |
Blackfin: bf537-stamp: declare parallel flash as ROM with XIP kernel
When the kernel is executing out of parallel flash (XIP), we can't have
the flash go into an erase/programming cycle, otherwise the instruction
fetching steps fail and everything crashes.
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index d47f4ed6b935..26429702db58 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -455,6 +455,9 @@ static struct physmap_flash_data stamp_flash_data = { | |||
455 | .width = 2, | 455 | .width = 2, |
456 | .parts = stamp_partitions, | 456 | .parts = stamp_partitions, |
457 | .nr_parts = ARRAY_SIZE(stamp_partitions), | 457 | .nr_parts = ARRAY_SIZE(stamp_partitions), |
458 | #ifdef CONFIG_ROMKERNEL | ||
459 | .probe_type = "map_rom", | ||
460 | #endif | ||
458 | }; | 461 | }; |
459 | 462 | ||
460 | static struct resource stamp_flash_resource = { | 463 | static struct resource stamp_flash_resource = { |