From: Janne Grunau via B4 Relay <devnull+j.jannau.net@kernel.org>
To: Mark Kettenis <kettenis@openbsd.org>, Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>,
u-boot@lists.denx.de, asahi@lists.linux.dev,
Janne Grunau <j@jannau.net>
Subject: [PATCH 4/4] arm: apple: Switch to standard boot
Date: Sun, 17 Mar 2024 15:54:50 +0100 [thread overview]
Message-ID: <20240317-apple_config-v1-4-1b862bc140a9@jannau.net> (raw)
In-Reply-To: <20240317-apple_config-v1-0-1b862bc140a9@jannau.net>
From: Janne Grunau <j@jannau.net>
Use standard boot instead of the distro boot scripts.
Signed-off-by: Janne Grunau <j@jannau.net>
---
arch/arm/Kconfig | 2 +-
include/configs/apple.h | 20 ++------------------
2 files changed, 3 insertions(+), 19 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 01d6556c42..ad89abde41 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1034,7 +1034,7 @@ config ARCH_APPLE
select USB
imply CMD_DM
imply CMD_GPT
- imply DISTRO_DEFAULTS
+ imply BOOTSTD_DEFAULTS
imply OF_HAS_PRIOR_STAGE
config ARCH_OWL
diff --git a/include/configs/apple.h b/include/configs/apple.h
index a70440b3ad..1e08b11448 100644
--- a/include/configs/apple.h
+++ b/include/configs/apple.h
@@ -9,26 +9,10 @@
"stdout=vidconsole,serial\0" \
"stderr=vidconsole,serial\0"
-#if IS_ENABLED(CONFIG_CMD_NVME)
- #define BOOT_TARGET_NVME(func) func(NVME, nvme, 0)
-#else
- #define BOOT_TARGET_NVME(func)
-#endif
-
-#if IS_ENABLED(CONFIG_CMD_USB)
- #define BOOT_TARGET_USB(func) func(USB, usb, 0)
-#else
- #define BOOT_TARGET_USB(func)
-#endif
-
-#define BOOT_TARGET_DEVICES(func) \
- BOOT_TARGET_NVME(func) \
- BOOT_TARGET_USB(func)
-
-#include <config_distro_bootcmd.h>
+#define BOOT_TARGETS "nvme usb"
#define CFG_EXTRA_ENV_SETTINGS \
ENV_DEVICE_SETTINGS \
- BOOTENV
+ "boot_targets=" BOOT_TARGETS "\0"
#endif
--
2.44.0
next prev parent reply other threads:[~2024-03-17 14:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-17 14:54 [PATCH 0/4] configs: apple: Switch to standard boot + small adjustments Janne Grunau via B4 Relay
2024-03-17 14:54 ` [PATCH 1/4] apple_m1_defconfig: Turn on CONFIG_SYS_64BIT_LBA Janne Grunau via B4 Relay
2024-04-15 13:45 ` Mark Kettenis
2024-03-17 14:54 ` [PATCH 2/4] configs: apple: Use "vidconsole,serial" as stdout/stderr Janne Grunau via B4 Relay
2024-04-15 13:54 ` Mark Kettenis
2024-03-17 14:54 ` [PATCH 3/4] configs: apple: Enable CMD_SELECT_FONT and FONT_16X32 Janne Grunau via B4 Relay
2024-04-15 13:54 ` Mark Kettenis
2024-03-17 14:54 ` Janne Grunau via B4 Relay [this message]
2024-04-15 14:24 ` [PATCH 4/4] arm: apple: Switch to standard boot Mark Kettenis
2024-04-16 7:50 ` Janne Grunau
2024-03-17 15:51 ` [PATCH 0/4] configs: apple: Switch to standard boot + small adjustments Neal Gompa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240317-apple_config-v1-4-1b862bc140a9@jannau.net \
--to=devnull+j.jannau.net@kernel.org \
--cc=asahi@lists.linux.dev \
--cc=j@jannau.net \
--cc=kettenis@openbsd.org \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).