Skip to content
Commit 792b2047 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Tom Rini
Browse files

ARM: Specify aligned address for secure section instead of using attributes

In commit a1274cc9 ("ARM: Page align secure section only when it is
executed in situ"), we used output section attributes (the "ALIGN"
keyword after the colon) to specify the alignment requirements. Using
the constant "COMMONPAGE" there was recently broken in binutils 2.31 [1].

Binutils maintainer Alan Modra suggested the former method would still
work. Since both methods achieve the same result, this patch does just
that. This fixes the "reboot after bootm" issue we've been seeing on
sunxi when booting non-secure.

  [1] https://sourceware.org/bugzilla/show_bug.cgi?id=23571



Suggested-by: default avatarAlan Modra <amodra@gmail.com>
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Acked-by: default avatarJagan Teki <jagan@openedev.com>
parent 4cdeda51
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment