mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 01:21:49 +00:00
Align .data section in flash
When copying .data section from flash to internal RAM at startup, we assume the content of the section is aligned on a word size in flash. Force the alignment in the linker file. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=chrome-os-partner:10823 TEST=on Link EVT, type "sysjump RO" in EC console and see you are jumping to RO partition and not getting a watchdog reset. Change-Id: I1a1387ef8bff01d287d85ee2a660811c9e4620c6 Reviewed-on: https://gerrit.chromium.org/gerrit/26032 Reviewed-by: Randall Spangler <rspangler@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
@@ -95,6 +95,7 @@ SECTIONS
|
||||
. = ALIGN(64);
|
||||
*(.google)
|
||||
#endif
|
||||
. = ALIGN(4);
|
||||
#ifdef COMPILE_FOR_RAM
|
||||
} > IRAM
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user