aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-11-01 12:28:13 -0400
committerTom Rini <trini@konsulko.com>2023-11-07 14:50:51 -0500
commit2dbb4967b6b805e9c1e40648cd22357c88008ed1 (patch)
treeff5dac237c8453ba1e21bf7af04c0883ff318089
parent639eab42e52c2ce67c852f08350ffa6f1b855546 (diff)
downloadu-boot-2dbb4967b6b805e9c1e40648cd22357c88008ed1.zip
u-boot-2dbb4967b6b805e9c1e40648cd22357c88008ed1.tar.gz
u-boot-2dbb4967b6b805e9c1e40648cd22357c88008ed1.tar.bz2
qe: Add <asm/ppc.h> on PowerPC
This driver needs <asm/ppc.h> when building on PowerPC, add it. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--drivers/qe/qe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index 736dd85..9631337 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