From 72f66115626590b9b1a87b7f2a50c1575d99c488 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 6 Aug 2013 04:30:13 -0700 Subject: [PATCH] ARM: Remove (NOLOAD) from the .car section. On ARM, if the .car section is marked as NOLOAD, there's nothing that sets it to zero. Some code in the cbmem console depends on a global variable being zero initially, and if that's not true bad things happen. BUG=None TEST=Built and booted on pit. After this fix, CBMEM being on doesn't cause pit to hang during boot. BRANCH=None Change-Id: Ic72a9fb0ee0c5a608190be6f24d0d7de7c34fc1f Signed-off-by: Gabe Black Reviewed-on: https://gerrit.chromium.org/gerrit/64769 Reviewed-by: Stefan Reinauer Commit-Queue: Gabe Black Tested-by: Gabe Black --- src/arch/armv7/romstage.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/armv7/romstage.ld b/src/arch/armv7/romstage.ld index 0eb3514b95..c76e2ac1c1 100644 --- a/src/arch/armv7/romstage.ld +++ b/src/arch/armv7/romstage.ld @@ -69,7 +69,7 @@ SECTIONS _ebss = .; - .car.data . (NOLOAD) : { + .car.data . : { . = ALIGN(8); _car_data_start = .; *(.car.global_data);