mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
SAMA5 ELF configuration with address environments finally builds without errors
This commit is contained in:
@@ -4553,15 +4553,15 @@ endif # SAMA5_DDRCS_RESERVE
|
|||||||
config SAMA5_DDRCS_PGHEAP
|
config SAMA5_DDRCS_PGHEAP
|
||||||
bool "Include DDR-SDRAM in page cache"
|
bool "Include DDR-SDRAM in page cache"
|
||||||
default y
|
default y
|
||||||
depends on SAMA5_DDRCS && ARCH_ADDRENV
|
depends on (SAMA5_DDRCS || SAMA5_BOOT_SDRAM) && ARCH_ADDRENV
|
||||||
---help---
|
---help---
|
||||||
Include a portion of DDR-SDRAM memory in the page cache.
|
Include a portion of DDR-SDRAM memory in the page cache.
|
||||||
|
|
||||||
if SAMA5_DDRCS_PGHEAP
|
if SAMA5_DDRCS_PGHEAP
|
||||||
|
|
||||||
config SAMA5_DDRCS_PGHEAP_OFFSET
|
config SAMA5_DDRCS_PGHEAP_OFFSET
|
||||||
int "DDR-SDRAM heap offset"
|
hex "DDR-SDRAM heap offset"
|
||||||
default 0
|
default 0x0
|
||||||
---help---
|
---help---
|
||||||
Preserve this number of bytes at the beginning of SDRAM. The
|
Preserve this number of bytes at the beginning of SDRAM. The
|
||||||
portion of DRAM beginning at this offset from the DDRCS base will
|
portion of DRAM beginning at this offset from the DDRCS base will
|
||||||
|
|||||||
@@ -57,11 +57,11 @@
|
|||||||
* handle any other possibility.
|
* handle any other possibility.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_SAMA5_DDRCS_PGHEAP
|
#ifndef CONFIG_SAMA5_DDRCS_PGHEAP
|
||||||
# error CONFIG_SAMA5_DDRCS_PGHEAP must be selected
|
# error CONFIG_SAMA5_DDRCS_PGHEAP must be selected
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SAMA5_DDRCS_PGHEAP_OFFSET
|
#ifndef CONFIG_SAMA5_DDRCS_PGHEAP_OFFSET
|
||||||
# error CONFIG_SAMA5_DDRCS_PGHEAP_OFFSET must be specified
|
# error CONFIG_SAMA5_DDRCS_PGHEAP_OFFSET must be specified
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
# warning CONFIG_SAMA5_DDRCS_PGHEAP_OFFSET is not aligned to a page boundary
|
# warning CONFIG_SAMA5_DDRCS_PGHEAP_OFFSET is not aligned to a page boundary
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SAMA5_DDRCS_PGHEAP_SIZE
|
#ifndef CONFIG_SAMA5_DDRCS_PGHEAP_SIZE
|
||||||
# error CONFIG_SAMA5_DDRCS_PGHEAP_SIZE must be specified
|
# error CONFIG_SAMA5_DDRCS_PGHEAP_SIZE must be specified
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user