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

Antony Pavlov antonynpavlov at gmail.com
Fri Mar 28 04:01:32 EDT 2014


On Wed, 26 Mar 2014 12:30:42 +0400
Antony Pavlov <antonynpavlov at gmail.com> wrote:

I have included just the same patch into Atheros AR933x series.

> 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
> 


-- 
-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list