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:
Sandrine Bailleux 2013-12-02 15:41:25 +00:00 committed by Dan Handley
parent ee12f6f749
commit ba6980a8db
4 changed files with 9 additions and 8 deletions

View File

@ -28,7 +28,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <bl1.h>
#include <bl_common.h>
#include <platform.h>
#include <arch.h>

View File

@ -37,7 +37,6 @@
#include <platform.h>
#include <semihosting.h>
#include <bl_common.h>
#include <bl1.h>
/***********************************************************
* Memory for sharing data while changing exception levels.

View File

@ -33,12 +33,6 @@
#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__
/******************************************

View File

@ -71,6 +71,15 @@
******************************************************************************/
#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__
/*******************************************************************************
* Structure used for telling the next BL how much of a particular type of