commit | 8f73d4b7011061f46ba6f46006b2848b412ff43f | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Wed Aug 20 17:10:31 2014 +0200 |
committer | Grant Likely <grant.likely@linaro.org> | Mon Sep 08 15:57:26 2014 +0100 |
tree | 7a0d70a3d0751a9ac7680c74f2a0772545d434da | |
parent | 7dbe5849fb50fc9b5b77a8f590c87a577ddc9bb6 [diff] |
of: Fix memory block alignment in early_init_dt_add_memory_arch() If a memory block is not aligned to PAGE_SIZE, its base address must be rounded up, not down, and its size must be reduced. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Grant Likely <grant.likely@linaro.org>