summaryrefslogtreecommitdiffstats
path: root/arch/openrisc
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-09-08 10:53:03 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-09 10:20:29 +0200
commit6b9a00a717a2a8834a9ac700d3e2907f9c0516c4 (patch)
treed61a17bfeffd536d3b162132f4493d5ce8b84781 /arch/openrisc
parent5a5ba5ad30f22f0e3a4c0c56d180261136e3dfe4 (diff)
downloadbarebox-6b9a00a717a2a8834a9ac700d3e2907f9c0516c4.tar.gz
barebox-6b9a00a717a2a8834a9ac700d3e2907f9c0516c4.tar.xz
openrisc: generic board: reserve 512K for barebox
Here is a linker's error message for some configurations: or1k-elf-ld: barebox section `.eh_frame' will not fit in region `ram' or1k-elf-ld: region `ram' overflowed by 16868 bytes This patch increases space reserved for barebox from 256K to 512K so the error's probability is dramatically decreased. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Cc: Franck Jullien <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/openrisc')
-rw-r--r--arch/openrisc/boards/generic/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/openrisc/boards/generic/config.h b/arch/openrisc/boards/generic/config.h
index 6ebab42692..10c33a12f9 100644
--- a/arch/openrisc/boards/generic/config.h
+++ b/arch/openrisc/boards/generic/config.h
@@ -13,8 +13,8 @@
#define OPENRISC_SOPC_ETHOC_BASE 0x92000000
-/* We reserve 256K for barebox */
-#define BAREBOX_RESERVED_SIZE 0x40000
+/* We reserve 512K for barebox */
+#define BAREBOX_RESERVED_SIZE 0x80000
/* Barebox will be at top of main memory */
#define OPENRISC_SOPC_TEXT_BASE (OPENRISC_SOPC_MEMORY_BASE + OPENRISC_SOPC_MEMORY_SIZE - BAREBOX_RESERVED_SIZE)