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 17:41:39 +0100 |
commit | ec3622d963522432a873cc1b6f66fed6fceddc18 (patch) | |
tree | 190048563eab2d45ea4e6540192d2384626ba939 /drivers/mtd/nand | |
parent | [ARM] 4224/2: allow XIP kernel to boot again (diff) | |
download | linux-ec3622d963522432a873cc1b6f66fed6fceddc18.tar.xz linux-ec3622d963522432a873cc1b6f66fed6fceddc18.zip |
[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/nand')
0 files changed, 0 insertions, 0 deletions