mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 19:14:28 +00:00
Move RUN_IMAGE constant from bl1.h to bl_common.h
RUN_IMAGE constant is used by all bootloader stages. Change-Id: I1b4e28d8fcf3ad1363f202c859f5efab0f320efe
This commit is contained in:
parent
ee12f6f749
commit
ba6980a8db
4 changed files with 9 additions and 8 deletions
|
@ -28,7 +28,6 @@
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <bl1.h>
|
|
||||||
#include <bl_common.h>
|
#include <bl_common.h>
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <arch.h>
|
#include <arch.h>
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
#include <platform.h>
|
#include <platform.h>
|
||||||
#include <semihosting.h>
|
#include <semihosting.h>
|
||||||
#include <bl_common.h>
|
#include <bl_common.h>
|
||||||
#include <bl1.h>
|
|
||||||
|
|
||||||
/***********************************************************
|
/***********************************************************
|
||||||
* Memory for sharing data while changing exception levels.
|
* Memory for sharing data while changing exception levels.
|
||||||
|
|
|
@ -33,12 +33,6 @@
|
||||||
|
|
||||||
#include <bl_common.h>
|
#include <bl_common.h>
|
||||||
|
|
||||||
/******************************************************************************
|
|
||||||
* Function ID of the only SMC that the BL1 exception handlers service.
|
|
||||||
* The chosen value is the first function ID of the ARM SMC64 range.
|
|
||||||
*****************************************************************************/
|
|
||||||
#define RUN_IMAGE 0xC0000000
|
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
/******************************************
|
/******************************************
|
||||||
|
|
|
@ -71,6 +71,15 @@
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
#define CASSERT(cond, msg) typedef char msg[(cond) ? 0 : -1]
|
#define CASSERT(cond, msg) typedef char msg[(cond) ? 0 : -1]
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* Opcode passed in x0 to tell next EL that we want to run an image.
|
||||||
|
* Corresponds to the function ID of the only SMC that the BL1 exception
|
||||||
|
* handlers service. That's why the chosen value is the first function ID of
|
||||||
|
* the ARM SMC64 range.
|
||||||
|
*****************************************************************************/
|
||||||
|
#define RUN_IMAGE 0xC0000000
|
||||||
|
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Structure used for telling the next BL how much of a particular type of
|
* Structure used for telling the next BL how much of a particular type of
|
||||||
|
|
Loading…
Add table
Reference in a new issue