]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 3061/1: cleanup the XIP link address mess
authorNicolas Pitre <nico@cam.org>
Sat, 29 Oct 2005 20:44:56 +0000 (21:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 29 Oct 2005 20:44:56 +0000 (21:44 +0100)
commit1f8e951842eb66666686b878bd2e3922fcfb6d07
treeda42fbad5b8ac6c79a258a46aff5f5d338ac138f
parent5ab6657f3fd64fb74e3453719e1376e93ac7fcff
[ARM] 3061/1: cleanup the XIP link address mess

Patch from Nicolas Pitre

Since vmlinux.lds.S is preprocessed, we can use the defines already
present in asm/memory.h (allowed by patch #3060) for the XIP kernel link
address instead of relying on a duplicated Makefile hardcoded value, and
also get rid of its dependency on awk to handle it at the same time.

While at it let's clean XIP stuff even further and make things clearer
in head.S with a nice code reduction.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Makefile
arch/arm/kernel/Makefile
arch/arm/kernel/head.S
arch/arm/kernel/vmlinux.lds.S
include/asm-arm/memory.h