Add option to indicatet that data is retained in SDRAM

This commit is contained in:
Gregory Nutt
2014-01-28 10:42:49 -06:00
parent ddd678e45b
commit 4aee332cd1
5 changed files with 24 additions and 0 deletions
+20
View File
@@ -139,6 +139,11 @@ config ARCH_HAVE_VFORK
config ARCH_HAVE_MMU config ARCH_HAVE_MMU
bool bool
default n
config ARCH_NAND_HWECC
bool
default n
config ARCH_IRQPRIO config ARCH_IRQPRIO
bool "Prioritized interrupt support" bool "Prioritized interrupt support"
@@ -428,4 +433,19 @@ config FLASH_SIZE
refers to the FLASH that you link program code into. refers to the FLASH that you link program code into.
endif # BOOT_RUNFROMFLASH && ARCH_HAVE_MMU endif # BOOT_RUNFROMFLASH && ARCH_HAVE_MMU
config ARCH_HAVE_SDRAM
bool
default n
config BOOT_SDRAM_DATA
bool "Data in SDRAM"
default n
depends on ARCH_HAVE_SDRAM
---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.
endmenu # Boot Memory Configuration endmenu # Boot Memory Configuration
+1
View File
@@ -16,6 +16,7 @@ config ARCH_CHIP_A1X
select ARCH_HAVE_FPU select ARCH_HAVE_FPU
select ARCH_HAVE_MMU select ARCH_HAVE_MMU
select ARCH_HAVE_LOWVECTORS select ARCH_HAVE_LOWVECTORS
select ARCH_HAVE_SDRAM
select BOOT_RUNFROMSDRAM select BOOT_RUNFROMSDRAM
---help--- ---help---
Allwinner A1X family: A10, A10S (A12), A13 (ARM Cortex-A8) Allwinner A1X family: A10, A10S (A12), A13 (ARM Cortex-A8)
+1
View File
@@ -374,6 +374,7 @@ config LPC17_EXTDRAM
bool "Configure external DRAM" bool "Configure external DRAM"
default n default n
depends on ARCH_HAVE_EXTDRAM depends on ARCH_HAVE_EXTDRAM
select ARCH_HAVE_SDRAM
---help--- ---help---
Configure external DRAM memory and, if applicable, map then external Configure external DRAM memory and, if applicable, map then external
DRAM into the memory map. DRAM into the memory map.
+1
View File
@@ -104,6 +104,7 @@ config LPC31_EXTDRAM
bool "Configure external DRAM" bool "Configure external DRAM"
default n default n
depends on ARCH_HAVE_EXTDRAM depends on ARCH_HAVE_EXTDRAM
select ARCH_HAVE_SDRAM
---help--- ---help---
Configure external DRAM memory and, if applicable, map then external Configure external DRAM memory and, if applicable, map then external
DRAM into the memory map. DRAM into the memory map.
+1
View File
@@ -720,6 +720,7 @@ config SAM34_EXTDRAM
bool "Configure external DRAM" bool "Configure external DRAM"
default n default n
depends on ARCH_HAVE_EXTDRAM depends on ARCH_HAVE_EXTDRAM
select ARCH_HAVE_SDRAM
---help--- ---help---
Configure external DRAM memory and, if applicable, map then external Configure external DRAM memory and, if applicable, map then external
DRAM into the memory map. DRAM into the memory map.