]> git.baikalelectronics.ru Git - uboot.git/commit
common: Add "ifndef __ASSEMBLY__" in asm/global_data.h
authorSiew Chin Lim <elly.siew.chin.lim@intel.com>
Tue, 23 Feb 2021 06:34:37 +0000 (14:34 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2021 21:51:49 +0000 (16:51 -0500)
commit89271f29168b75fc6a311cbdca5b007fb0f0e8b5
tree2e3d22c903796c967a4855a27f996b7705603c74
parenta112bcd675e6b2d000d89873e5506b0bed8cd53e
common: Add "ifndef __ASSEMBLY__" in asm/global_data.h

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@intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/global_data.h