mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +08:00
arch/Kconfig: allow FLASH config for non-MMU chips
This allows using FLASH_START and FLASH_SIZE config for chips with no MMU. Signed-off-by: Yanfeng Liu <p-liuyanfeng9@xiaomi.com>
This commit is contained in:
+3
-2
@@ -1397,7 +1397,7 @@ config RAM_SIZE
|
||||
does not execute out of RAM but from FLASH, then you may designate
|
||||
any block of RAM as "primary."
|
||||
|
||||
if BOOT_RUNFROMFLASH && ARCH_USE_MMU
|
||||
if BOOT_RUNFROMFLASH
|
||||
|
||||
config FLASH_START
|
||||
hex "Boot FLASH start address (physical)"
|
||||
@@ -1409,6 +1409,7 @@ config FLASH_START
|
||||
config FLASH_VSTART
|
||||
hex "Boot FLASH start address (virtual)"
|
||||
default 0x0
|
||||
depends on ARCH_USE_MMU
|
||||
---help---
|
||||
The virtual start address of installed boot FLASH. "Boot" FLASH
|
||||
refers to the FLASH that you link program code into.
|
||||
@@ -1420,7 +1421,7 @@ config FLASH_SIZE
|
||||
The size in bytes of the installed boot FLASH. "Boot" FLASH
|
||||
refers to the FLASH that you link program code into.
|
||||
|
||||
endif # BOOT_RUNFROMFLASH && ARCH_USE_MMU
|
||||
endif # BOOT_RUNFROMFLASH
|
||||
|
||||
config ARCH_HAVE_SDRAM
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user