summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJanne Grunau <[email protected]>2026-05-01 00:31:16 +0200
committerTom Rini <[email protected]>2026-05-12 12:08:15 -0600
commit0f0ff73bac5dc43f8fe336f2828900035e260f1a (patch)
treedd69661bf32e2bfb5b22dcddd80ec210a3565b7a /drivers
parent1b5500cefee4b27915ea1581731ea40a19d6bb0d (diff)
arm: apple: Switch to board based text env
The main use case for u-boot on Apple silicon based devices is to provide an EFI based bootloader for operating systems. This uses a generic u-boot image with DTBs passed from an earlier boot loader (m1n1). Use the generic board name "mac" for this purpose. Signed-off-by: Janne Grunau <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/iommu/apple_dart.c1
-rw-r--r--drivers/nvme/nvme_apple.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iommu/apple_dart.c b/drivers/iommu/apple_dart.c
index bfd4ad20105..ebef28d0b9d 100644
--- a/drivers/iommu/apple_dart.c
+++ b/drivers/iommu/apple_dart.c
@@ -6,6 +6,7 @@
#include <cpu_func.h>
#include <dm.h>
#include <iommu.h>
+#include <linux/sizes.h>
#include <lmb.h>
#include <memalign.h>
#include <asm/io.h>
diff --git a/drivers/nvme/nvme_apple.c b/drivers/nvme/nvme_apple.c
index 48f82bc826c..3e7d95c2b54 100644
--- a/drivers/nvme/nvme_apple.c
+++ b/drivers/nvme/nvme_apple.c
@@ -13,6 +13,7 @@
#include <asm/arch/rtkit.h>
#include <asm/arch/sart.h>
#include <linux/iopoll.h>
+#include <linux/sizes.h>
/* ASC registers */
#define REG_CPU_CTRL 0x0044