mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
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>
31 lines
745 B
ArmAsm
31 lines
745 B
ArmAsm
/* 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")
|
|
OUTPUT_ARCH(arm)
|
|
MEMORY
|
|
{
|
|
FLASH (rx) : ORIGIN = CONFIG_FLASH_BASE, LENGTH = CONFIG_FLASH_SIZE
|
|
}
|
|
SECTIONS
|
|
{
|
|
. = ALIGN(CONFIG_FLASH_BANK_SIZE);
|
|
.image.RO : AT(CONFIG_FW_RO_OFF) {
|
|
*(.image.RO)
|
|
} > FLASH
|
|
. = ALIGN(CONFIG_FLASH_BANK_SIZE);
|
|
.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
|
|
}
|