]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: simplify and fix linker script for TCM
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 9 Mar 2018 02:12:04 +0000 (21:12 -0500)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Sat, 10 Mar 2018 01:20:43 +0000 (20:20 -0500)
commitb54290e51accea4f696f5dacef8e609d0ccbe54a
tree3d35a3674cfc8613445b0cd71faebb3a68d3bd24
parentc3146c43db4974f4571bd9d42b172ca03a9137c6
ARM: simplify and fix linker script for TCM

Let's put the TCM stuff in the __init section directly. No need for
a separately freed memory area.

Remove redundant linker sections, as well as comments that were more
confusing than no comments at all. Finally make it XIP compatible by
using LOAD_OFFSET in the section LMA specification.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Chris Brandt <Chris.Brandt@renesas.com>
arch/arm/kernel/vmlinux-xip.lds.S
arch/arm/kernel/vmlinux.lds.S
arch/arm/kernel/vmlinux.lds.h
arch/arm/mm/init.c