[PATCH] MIPS: lib: add BAREBOX_CLK_TABLE to linker script

Antony Pavlov antonynpavlov at gmail.com
Wed Mar 26 04:30:42 EDT 2014


This commit is based on
    commit fa1a406f7245c5482a17014d5b97e8948352e5a5
    Author: Sebastian Hesselbarth <sebastian.hesselbarth at 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 at gmail.com>
---
 arch/mips/lib/barebox.lds.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/lib/barebox.lds.S b/arch/mips/lib/barebox.lds.S
index bc78d2b..4ee4252 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 = .;
-- 
1.9.0




More information about the barebox mailing list