trusty: Allow gic base to be specified with GICD_BASE
Some platforms define GICD_BASE instead of PLAT_ARM_GICD_BASE but the meaning is the same. Change-Id: I1bb04bb49fdab055b365b1d70a4d48d2058e49df Signed-off-by: Arve Hjønnevåg <arve@android.com>
This commit is contained in:
parent
f01428b1cc
commit
471e8fa7d1
|
@ -12,6 +12,15 @@
|
||||||
|
|
||||||
#include "generic-arm64-smcall.h"
|
#include "generic-arm64-smcall.h"
|
||||||
|
|
||||||
|
#ifndef PLAT_ARM_GICD_BASE
|
||||||
|
#ifdef GICD_BASE
|
||||||
|
#define PLAT_ARM_GICD_BASE GICD_BASE
|
||||||
|
#define PLAT_ARM_GICC_BASE GICC_BASE
|
||||||
|
#else
|
||||||
|
#error PLAT_ARM_GICD_BASE or GICD_BASE must be defined
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
int trusty_disable_serial_debug;
|
int trusty_disable_serial_debug;
|
||||||
|
|
||||||
struct dputc_state {
|
struct dputc_state {
|
||||||
|
|
Loading…
Reference in New Issue