diff options
author | Nicolas Pitre <nico@cam.org> | 2007-02-21 15:32:28 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-02-25 16:41:39 +0000 |
commit | ec3622d963522432a873cc1b6f66fed6fceddc18 (patch) | |
tree | 190048563eab2d45ea4e6540192d2384626ba939 /drivers/mtd | |
parent | e98ff7f6d8164c5636538998fb7d1e08b1fbbddd (diff) |
[ARM] 4226/1: initial .data and .bss mappings of XIP kernel should be TEXT_OFFSET
aware
Since TEXT_OFFSET is meant to determine RAM location for kernel use,
itshould affect .data and .bss initial mapping in the XIP case.
Otherwise a XIP kernel would crash if TEXT_OFFSET gets somewhat larger
than 2MB.
Corresponding code is also moved up a bit to be near the similar .text
mapping code making the whole a bit more straight forward to understand.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions