Skip to content
Snippets Groups Projects
Commit ca807a4e authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Update dependencies for CONFIG_BOOT_SDRAM_DATA. This should not be available...

Update dependencies for CONFIG_BOOT_SDRAM_DATA.  This should not be available if the system boots from SDRAM (via a bootloader)
parent e5bb99bf
No related branches found
No related tags found
No related merge requests found
......@@ -441,11 +441,17 @@ config ARCH_HAVE_SDRAM
config BOOT_SDRAM_DATA
bool "Data in SDRAM"
default n
depends on ARCH_HAVE_SDRAM
depends on ARCH_HAVE_SDRAM && !BOOT_RUNFROMSDRAM
---help---
This selection should be set if data lies in SDRAM (vs. SRAM). In
that case, the initialization sequence is a little different: SDRAM
must be configured before before the .data and .bss sections can be
initialized.
This selection should be set if data lies in SDRAM (vs. SRAM) and if
SDRAM was not previously initialized by a loader. Obviously, this
does not apply if we booting from SDRAM because SDRAM must have been
initialized priority to loading NuttX into SDRAM.
In the case where SDRAM must be initialized by NuttX, the
initialization sequence is a little different: Normally, .data and
.bss must be initialized before starting the system. But in this
case SDRAM must be configured by board-specific logic before the
.data and .bss sections can be initialized.
endmenu # Boot Memory Configuration
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment