Commit ba6980a8 authored by Sandrine Bailleux's avatar Sandrine Bailleux Committed by Dan Handley
Browse files

Move RUN_IMAGE constant from bl1.h to bl_common.h

RUN_IMAGE constant is used by all bootloader stages.

Change-Id: I1b4e28d8fcf3ad1363f202c859f5efab0f320efe
parent ee12f6f7
...@@ -28,7 +28,6 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment