diff --git a/arch/arm/src/a1x/chip/a10_memorymap.h b/arch/arm/src/a1x/chip/a10_memorymap.h index c7ce9b917e4..6f102e32877 100644 --- a/arch/arm/src/a1x/chip/a10_memorymap.h +++ b/arch/arm/src/a1x/chip/a10_memorymap.h @@ -41,7 +41,7 @@ ************************************************************************************/ #include -#include +#include /************************************************************************************ * Pre-processor Definitions diff --git a/configs/pcduino-a10/scripts/sdram.ld b/configs/pcduino-a10/scripts/sdram.ld index 60a1a02c574..414c408a4ac 100644 --- a/configs/pcduino-a10/scripts/sdram.ld +++ b/configs/pcduino-a10/scripts/sdram.ld @@ -33,11 +33,13 @@ * ****************************************************************************/ -/* The pcDuino and 256MB of SDRAM beginning at virtual address 0x4000:0000 */ +/* The pcDuino and 1GB of SDRAM beginning at virtual address 0x4000:0000. + * Execution begins at address 0x4a00000, leaving 864MB for NuttX. + */ MEMORY { - sdram (W!RX) : ORIGIN = 0x40000000, LENGTH = 256M + sdram (W!RX) : ORIGIN = 0x4a000000, LENGTH = 864M } OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")