diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2014-08-28 17:29:06 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2014-08-30 17:48:43 +0800 |
commit | c69d2e57616f20eb1989cfe235ee036a26c78d5a (patch) | |
tree | 475a31419ec7f4a60412a0f0bb9f4f172bb4f295 /board/altera/nios2-generic/text_base.S | |
parent | 3a55a56662550f945eddaa9123eee655a6efa1c7 (diff) |
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 'board/altera/nios2-generic/text_base.S')
-rw-r--r-- | board/altera/nios2-generic/text_base.S | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/board/altera/nios2-generic/text_base.S b/board/altera/nios2-generic/text_base.S deleted file mode 100644 index f236db13e5..0000000000 --- a/board/altera/nios2-generic/text_base.S +++ /dev/null @@ -1,21 +0,0 @@ -/* - * text_base - * - * (C) Copyright 2010, Thomas Chou <thomas@wytron.com.tw> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -#include <config.h> - -#ifdef CONFIG_SYS_MONITOR_BASE - .text - /* text base used in link script u-boot.lds */ - .global text_base - .equ text_base,CONFIG_SYS_MONITOR_BASE - /* dummy func to let linker include this file */ - .global text_base_hook -text_base_hook: - ret -#endif |