SAMA5D3 Xplained: Has no NOR flash. Remove all NOR support from board configuration
This commit is contained in:
parent
73f0ff6c47
commit
797f149481
@ -3513,7 +3513,6 @@ config SAMA5_BOOT_ISRAM
|
|||||||
|
|
||||||
config SAMA5_BOOT_SDRAM
|
config SAMA5_BOOT_SDRAM
|
||||||
bool "Running from external SDRAM"
|
bool "Running from external SDRAM"
|
||||||
depends on SAMA5_DDRCS
|
|
||||||
|
|
||||||
config SAMA5_BOOT_CS0FLASH
|
config SAMA5_BOOT_CS0FLASH
|
||||||
bool "Running in external FLASH CS0"
|
bool "Running in external FLASH CS0"
|
||||||
|
@ -140,13 +140,14 @@ static const struct section_mapping_s section_mapping[] =
|
|||||||
* I have found that in the test environments that I use, I cannot always
|
* I have found that in the test environments that I use, I cannot always
|
||||||
* be assured of that physical address mapping.
|
* be assured of that physical address mapping.
|
||||||
*
|
*
|
||||||
* So we do both here. If we are exectuing from FLASH, then we provide
|
* So we do both here. If we are executing from FLASH, then we provide
|
||||||
* the MMU to map the physical address of FLASH to address 0x0000:0000;
|
* the MMU to map the physical address of FLASH to address 0x0000:0000;
|
||||||
* if we are executing from the internal SRAM, then we trust the bootload
|
* if we are executing from the internal SRAM, then we trust the bootload
|
||||||
* to setup the AXI MATRIX mapping.
|
* to setup the AXI MATRIX mapping.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(CONFIG_ARCH_LOWVECTORS) && !defined(CONFIG_SAMA5_BOOT_ISRAM)
|
#if defined(CONFIG_ARCH_LOWVECTORS) && !defined(CONFIG_SAMA5_BOOT_ISRAM) && \
|
||||||
|
!defined(CONFIG_SAMA5_BOOT_SDRAM)
|
||||||
{ CONFIG_FLASH_VSTART, 0x00000000,
|
{ CONFIG_FLASH_VSTART, 0x00000000,
|
||||||
MMU_ROMFLAGS, 1
|
MMU_ROMFLAGS, 1
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user