summaryrefslogtreecommitdiff
path: root/board/altera/nios2-generic/text_base.S
blob: f236db13e51be447411a44231377b8eeb03424ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * 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