[PATCH] common: Add "ifndef __ASSEMBLY__" in asm/global_data.h

Simon Glass sjg at chromium.org
Tue Feb 23 16:58:20 CET 2021


On Tue, 23 Feb 2021 at 01:34, Siew Chin Lim
<elly.siew.chin.lim at intel.com> wrote:
>
> Commit "common: Drop asm/global_data.h from common header" added
> asm/global_data.h into secure.h. However, secure.h will be included
> by psci.S. Adding asm/global_data.h has caused compilation failure in
> pcsi.S. Add "ifndef __ASSEMBLY__" in asm/global_data.h.
>
> Signed-off-by: Siew Chin Lim <elly.siew.chin.lim at intel.com>
> ---
>  arch/arm/include/asm/global_data.h | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list