summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/mips/libpayload.ldscript
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/arch/mips/libpayload.ldscript')
-rw-r--r--payloads/libpayload/arch/mips/libpayload.ldscript10
1 files changed, 3 insertions, 7 deletions
diff --git a/payloads/libpayload/arch/mips/libpayload.ldscript b/payloads/libpayload/arch/mips/libpayload.ldscript
index 28a741293b..351c2254fb 100644
--- a/payloads/libpayload/arch/mips/libpayload.ldscript
+++ b/payloads/libpayload/arch/mips/libpayload.ldscript
@@ -20,15 +20,11 @@
OUTPUT_ARCH(mips)
-BASE_ADDRESS = 0x00000000;
ENTRY(_entry)
-HEAP_SIZE = 2*64*1024;
-STACK_SIZE = 16*1024;
-
SECTIONS
{
- . = BASE_ADDRESS;
+ . = CONFIG_LP_BASE_ADDRESS;
. = ALIGN(16);
_start = .;
@@ -68,12 +64,12 @@ SECTIONS
. = ALIGN(16);
_heap = .;
- . += HEAP_SIZE;
+ . += CONFIG_LP_HEAP_SIZE;
. = ALIGN(16);
_eheap = .;
_estack = .;
- . += STACK_SIZE;
+ . += CONFIG_LP_STACK_SIZE;
. = ALIGN(16);
_stack = .;
}