[PATCH v2 3/5] ARM: atf: add missing includes in atf_common.h
Ahmad Fatoum
a.fatoum at pengutronix.de
Wed Jan 14 04:00:57 PST 2026
From: Marco Felsch <m.felsch at pengutronix.de>
Add missing includes else atf_common.h depends on the include order.
Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
v1 - > v2:
- split off preparatory patch from
https://lore.barebox.org/barebox/20251110-v2025-09-0-topic-optee-of-handling-v1-0-8f0625ac5471@pengutronix.de/T/#t
---
arch/arm/include/asm/atf_common.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/include/asm/atf_common.h b/arch/arm/include/asm/atf_common.h
index ab99cd3ac142..11d3801da1cc 100644
--- a/arch/arm/include/asm/atf_common.h
+++ b/arch/arm/include/asm/atf_common.h
@@ -11,6 +11,9 @@
#ifndef __BL_COMMON_H__
#define __BL_COMMON_H__
+#include <linux/sizes.h>
+#include <linux/types.h>
+
#define ATF_PARAM_EP 0x01
#define ATF_PARAM_IMAGE_BINARY 0x02
#define ATF_PARAM_BL31 0x03
--
2.47.3
More information about the barebox
mailing list