mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-02 21:25:03 +00:00
source files mainly done by Vincent. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> Change-Id: Ic2d1becd400c9b4b4a14d4a243af1bdf77d9c1e2
26 lines
707 B
ArmAsm
26 lines
707 B
ArmAsm
/* Copyright (c) 2011 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.
|
|
*
|
|
* Build the full image with 3 copies (Read only, A, B) of the program
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#define FW_FILE(builddir,proj,sect) builddir##/##proj##.##sect##.flat
|
|
#define STRINGIFY0(name) #name
|
|
#define STRINGIFY(name) STRINGIFY0(name)
|
|
#define FW_IMAGE(sect) STRINGIFY(FW_FILE(OUTDIR,PROJECT,sect))
|
|
|
|
/* Read Only firmware */
|
|
.section .image.RO, "ax"
|
|
.incbin FW_IMAGE(RO)
|
|
|
|
/* Read Write firmware copy A */
|
|
.section .image.A, "ax"
|
|
.incbin FW_IMAGE(A)
|
|
|
|
/* Read Write firmware copy B */
|
|
.section .image.B, "ax"
|
|
.incbin FW_IMAGE(B)
|