From: Paul Barker Date: Wed, 1 Nov 2023 20:05:52 +0000 (+0000) Subject: arm: armv8: mmu: Prepare for common.h removal X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=0a5d5fe30de6602b1ddb2a72e69482c6e6f3d063;p=u-boot.git arm: armv8: mmu: Prepare for common.h removal If won't be included before , we need to ensure that we have the required type definitions. Signed-off-by: Paul Barker --- diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/mmu.h index 19a9e112a4..4f0adb0732 100644 --- a/arch/arm/include/asm/armv8/mmu.h +++ b/arch/arm/include/asm/armv8/mmu.h @@ -118,6 +118,8 @@ #define HCR_EL2_E2H_BIT 34 #ifndef __ASSEMBLY__ +#include + static inline void set_ttbr_tcr_mair(int el, u64 table, u64 tcr, u64 attr) { asm volatile("dsb sy");