diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2014-08-28 09:29:06 (GMT) |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2014-08-30 09:48:43 (GMT) |
commit | c69d2e57616f20eb1989cfe235ee036a26c78d5a (patch) | |
tree | 475a31419ec7f4a60412a0f0bb9f4f172bb4f295 /arch/nios2/cpu | |
parent | 3a55a56662550f945eddaa9123eee655a6efa1c7 (diff) | |
download | u-boot-c69d2e57616f20eb1989cfe235ee036a26c78d5a.tar.xz |
nios2: link to CONFIG_SYS_MONITOR_BASE and remove text_base hook
This patch changes the link script to base at CONFIG_SYS_MONITOR_BASE.
Then we can remove the text_base hook in nios2-generic board.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'arch/nios2/cpu')
-rw-r--r-- | arch/nios2/cpu/u-boot.lds | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nios2/cpu/u-boot.lds b/arch/nios2/cpu/u-boot.lds index be92e8e..6e174be 100644 --- a/arch/nios2/cpu/u-boot.lds +++ b/arch/nios2/cpu/u-boot.lds @@ -5,6 +5,7 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <config.h> OUTPUT_FORMAT("elf32-littlenios2") OUTPUT_ARCH(nios2) @@ -12,6 +13,7 @@ ENTRY(_start) SECTIONS { + . = CONFIG_SYS_MONITOR_BASE; .text : { arch/nios2/cpu/start.o (.text) |