blob: f236db13e51be447411a44231377b8eeb03424ca [file] [log] [blame]
Thomas Chou8cbb0dd2010-04-21 08:40:59 +08001/*
2 * text_base
3 *
4 * (C) Copyright 2010, Thomas Chou <thomas@wytron.com.tw>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#include <config.h>
11
12#ifdef CONFIG_SYS_MONITOR_BASE
13 .text
14 /* text base used in link script u-boot.lds */
15 .global text_base
16 .equ text_base,CONFIG_SYS_MONITOR_BASE
17 /* dummy func to let linker include this file */
18 .global text_base_hook
19text_base_hook:
20 ret
21#endif