diff options
author | Nicolas Pitre <[email protected]> | 2013-01-15 18:51:32 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2013-01-16 16:51:13 +0000 |
commit | 6f16f4998f98e42e3f2dedf663cfb691ff0324af (patch) | |
tree | c66bfdaf4723ea6495e1b12df8c41f676b2fc102 /lib/string_helpers.c | |
parent | 568dca15aa2a0f4ddee255894ec393a159f13147 (diff) |
ARM: 7628/1: head.S: map one extra section for the ATAG/DTB area
We currently use a temporary 1MB section aligned to a 1MB boundary for
mapping the provided device tree until the final page table is created.
However, if the device tree happens to cross that 1MB boundary, the end
of it remains unmapped and the kernel crashes when it attempts to access
it. Given no restriction on the location of that DTB, it could end up
with only a few bytes mapped at the end of a section.
Solve this issue by mapping two consecutive sections.
Signed-off-by: Nicolas Pitre <[email protected]>
Tested-by: Sascha Hauer <[email protected]>
Tested-by: Tomasz Figa <[email protected]>
Cc: [email protected]
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions