diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2021-01-04 08:34:53 +0100 |
---|---|---|
committer | Jérôme Forissier <jerome@forissier.org> | 2021-01-07 15:49:29 +0100 |
commit | a499fe129c9103839b25173d69da13a0f5888d8a (patch) | |
tree | 27753dae190e5085590423239971969b12976abd | |
parent | 507229d540f7f048c4782209e0942553ed78d83a (diff) |
core: ifdef frag_id member in struct dt_descriptor
The frag_id member in struct dt_descriptor is only used if
CFG_EXTERNAL_DTB_OVERLAY is defined, so make it conditional.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
-rw-r--r-- | core/arch/arm/kernel/boot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/arch/arm/kernel/boot.c b/core/arch/arm/kernel/boot.c index a5c2ab5c..02eac0e7 100644 --- a/core/arch/arm/kernel/boot.c +++ b/core/arch/arm/kernel/boot.c @@ -75,7 +75,9 @@ DECLARE_KEEP_PAGER(sem_cpu_sync); #ifdef CFG_DT struct dt_descriptor { void *blob; +#ifdef CFG_EXTERNAL_DTB_OVERLAY int frag_id; +#endif }; static struct dt_descriptor external_dt __nex_bss; |