summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-03-28 01:26:36 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-03-28 10:28:15 +0100
commitf0ca02de16269961e9bbb70c816a812e42c3bde4 (patch)
tree1afddb676324b89e9321becebad563b470313266 /arch/mips
parent638998c218dbe04b585c850ad26470503ade2ea1 (diff)
downloadbarebox-f0ca02de16269961e9bbb70c816a812e42c3bde4.tar.gz
barebox-f0ca02de16269961e9bbb70c816a812e42c3bde4.tar.xz
MIPS: lib: add BAREBOX_CLK_TABLE to linker script
This commit is based on commit fa1a406f7245c5482a17014d5b97e8948352e5a5 Author: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Date: Sat Nov 9 14:24:18 2013 +0100 ARM: lib: add BAREBOX_CLK_TABLE to linker script This adds an .oftables section right before .dtb section with BAREBOX_CLK_TABLE to ARM linker script. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/lib/barebox.lds.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/lib/barebox.lds.S b/arch/mips/lib/barebox.lds.S
index bc78d2be8c..4ee4252b6d 100644
--- a/arch/mips/lib/barebox.lds.S
+++ b/arch/mips/lib/barebox.lds.S
@@ -69,6 +69,8 @@ SECTIONS
__usymtab : { BAREBOX_SYMS }
__usymtab_end = .;
+ .oftables : { BAREBOX_CLK_TABLE() }
+
.dtb : { BAREBOX_DTB() }
_edata = .;