summaryrefslogtreecommitdiff
path: root/common/firmware_image.lds.S
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2012-02-16 13:07:32 -0800
committerVic Yang <victoryang@chromium.org>2012-02-16 14:06:55 -0800
commite75a32d2e3e9b62c47f4792d9ca17fb3b70b95d4 (patch)
tree5a0da8cb4006359c8924d81e979d3e8475d49db3 /common/firmware_image.lds.S
parentb221c77b6293ad03e2610b940e2d39de6d40c4db (diff)
downloadchrome-ec-e75a32d2e3e9b62c47f4792d9ca17fb3b70b95d4.tar.gz
Temporarily remove image RW.B due to code size.
To accomodate our growing code, image RW.B is removed so that RO and RW.A can both have 60K space. This is just a temporary solution. Add RW.B back when we have enough space for all three images. Also add license header to firmware_image.lds.S so that repo does not complain about it. BUG=chrome-os-partner:8079 TEST=build image and run on proto-0. Change-Id: I85b723f3e645c12fd89b189263ca44d58c4621eb Signed-off-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'common/firmware_image.lds.S')
-rw-r--r--common/firmware_image.lds.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/firmware_image.lds.S b/common/firmware_image.lds.S
index c1c7d59682..c282e7ac28 100644
--- a/common/firmware_image.lds.S
+++ b/common/firmware_image.lds.S
@@ -1,3 +1,8 @@
+/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
#include "config.h"
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
@@ -16,8 +21,10 @@ SECTIONS
.image.A : AT(CONFIG_FW_A_OFF) {
*(.image.A)
} > FLASH
+#ifndef CONFIG_NO_RW_B
. = ALIGN(CONFIG_FLASH_BANK_SIZE);
.image.B : AT(CONFIG_FW_B_OFF) {
*(.image.B)
} > FLASH
+#endif
}