summaryrefslogtreecommitdiffstats
path: root/arch/mips/boards/dptechnics-dpt-module/lowlevel.S
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2019-04-10 09:04:39 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-04-23 10:32:06 +0200
commit4de280c6ac3de90e170f8376859daac54b6291bc (patch)
treed99aec721d8b69609fbc4089def3054f94c44c36 /arch/mips/boards/dptechnics-dpt-module/lowlevel.S
parentea569a0afd6a2e9a84418cd18ddeaeefaa5eae39 (diff)
downloadbarebox-4de280c6ac3de90e170f8376859daac54b6291bc.tar.gz
barebox-4de280c6ac3de90e170f8376859daac54b6291bc.tar.xz
MIPS: relocation: pass ram size to pbl_main_entry
To make barebox dynamically relocatable it should know the RAM size to be able to calculate proper new location. Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/boards/dptechnics-dpt-module/lowlevel.S')
-rw-r--r--arch/mips/boards/dptechnics-dpt-module/lowlevel.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/boards/dptechnics-dpt-module/lowlevel.S b/arch/mips/boards/dptechnics-dpt-module/lowlevel.S
index 28b8f4fac7..b5621963c3 100644
--- a/arch/mips/boards/dptechnics-dpt-module/lowlevel.S
+++ b/arch/mips/boards/dptechnics-dpt-module/lowlevel.S
@@ -12,9 +12,10 @@
#include <asm/pbl_macros.h>
#include <mach/pbl_macros.h>
#include <asm/pbl_nmon.h>
+#include <linux/sizes.h>
ENTRY_FUNCTION(BOARD_PBL_START)
ar9331_pbl_generic_start
-ENTRY_FUNCTION_END(BOARD_PBL_START, ar9331_dptechnics_dpt_module)
+ENTRY_FUNCTION_END(BOARD_PBL_START, ar9331_dptechnics_dpt_module, SZ_64M)