* [PATCH] arm: mach-k3: common: Set boot_fit on non-GP devices
@ 2022-10-07 16:27 Andrew Davis
2022-10-18 22:15 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Davis @ 2022-10-07 16:27 UTC (permalink / raw)
To: Simon Glass, Tom Rini, u-boot; +Cc: Andrew Davis
This matches what we did for pre-K3 devices. This allows us to build
boot commands that can check for our device type at runtime.
Signed-off-by: Andrew Davis <afd@ti.com>
---
arch/arm/mach-k3/common.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c
index 14c37acbce..227706e8dc 100644
--- a/arch/arm/mach-k3/common.c
+++ b/arch/arm/mach-k3/common.c
@@ -606,5 +606,9 @@ int misc_init_r(void)
printf("Failed to probe am65_cpsw_nuss driver\n");
}
+ /* Default FIT boot on non-GP devices */
+ if (get_device_type() != K3_DEVICE_TYPE_GP)
+ env_set("boot_fit", "1");
+
return 0;
}
--
2.37.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm: mach-k3: common: Set boot_fit on non-GP devices
2022-10-07 16:27 [PATCH] arm: mach-k3: common: Set boot_fit on non-GP devices Andrew Davis
@ 2022-10-18 22:15 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2022-10-18 22:15 UTC (permalink / raw)
To: Andrew Davis; +Cc: Simon Glass, u-boot
[-- Attachment #1: Type: text/plain, Size: 298 bytes --]
On Fri, Oct 07, 2022 at 11:27:46AM -0500, Andrew Davis wrote:
> This matches what we did for pre-K3 devices. This allows us to build
> boot commands that can check for our device type at runtime.
>
> Signed-off-by: Andrew Davis <afd@ti.com>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-18 22:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-07 16:27 [PATCH] arm: mach-k3: common: Set boot_fit on non-GP devices Andrew Davis
2022-10-18 22:15 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox