[PATCH 09/20] qe: Add <asm/ppc.h> on PowerPC

Tom Rini trini at konsulko.com
Wed Nov 1 17:28:13 CET 2023


This driver needs <asm/ppc.h> when building on PowerPC, add it.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/qe/qe.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index 736dd8558b60..9631337b8d9d 100644
--- a/drivers/qe/qe.c
+++ b/drivers/qe/qe.c
@@ -23,6 +23,9 @@
 #include <asm/armv8/mmu.h>
 #include <asm/arch/cpu.h>
 #endif
+#ifdef CONFIG_PPC
+#include <asm/ppc.h>
+#endif
 
 #define MPC85xx_DEVDISR_QE_DISABLE	0x1
 
-- 
2.34.1



More information about the U-Boot mailing list