summaryrefslogtreecommitdiff
path: root/src/arch/armv7
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2013-08-06 04:30:13 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2013-12-21 22:45:20 +0100
commitc1471396a48d2620c9f51b3fdd85f0a71ced8635 (patch)
treecae4bab11bcad7a62d67856563c06b55c68eab55 /src/arch/armv7
parent56a7cff7f665e5ac6859bad384a6fcff19f117d3 (diff)
downloadcoreboot-c1471396a48d2620c9f51b3fdd85f0a71ced8635.tar.xz
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. Change-Id: Ic72a9fb0ee0c5a608190be6f24d0d7de7c34fc1f Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/64769 Reviewed-by: Stefan Reinauer <reinauer@google.com> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/4435 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/arch/armv7')
-rw-r--r--src/arch/armv7/romstage.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/armv7/romstage.ld b/src/arch/armv7/romstage.ld
index 11a91cf0af..459f71471c 100644
--- a/src/arch/armv7/romstage.ld
+++ b/src/arch/armv7/romstage.ld
@@ -74,7 +74,7 @@ SECTIONS
_ebss = .;
- .car.data . (NOLOAD) : {
+ .car.data . : {
. = ALIGN(8);
_car_data_start = .;
*(.car.global_data);