From: Tom Rini Date: Mon, 20 Oct 2025 16:17:54 +0000 (-0600) Subject: Merge patch series "Add support for secure falcon mode: disable fallback" X-Git-Tag: v2026.01-rc1~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5996409cecbc181ab3f4f04bdb24284a2837d9c;p=thirdparty%2Fu-boot.git Merge patch series "Add support for secure falcon mode: disable fallback" Anshul Dalal says: Continuing from the last series[1], this patch series addresses the requirement of allowing no fallbacks in secure falcon mode. To do this in a clean way, all the falcon mode logic for each boot media was refactored to a corresponding *_load_image_os function whereas the regular boot is implemented in *_load_image, this allows us to easily return early in case the *_load_image_os function fails with secure mode enabled. The series also introduces the new SPL_OS_BOOT_SECURE config symbol which enables secure falcon boot flow. The generic flow after the patch series looks as follows: static int spl__load_image(...) { if (CONFIG_IS_ENABLED(OS_BOOT)) { ret = spl__load_image_os(...); puts("Failcon mode failed\n"); if (CONFIG_IS_ENABLED(OS_BOOT_SECURE)) { puts("no fallback allowed!\n"); return ret; } puts("Falling back to U-Boot\n"); } /* Regular boot flow */ } [1]: https://lore.kernel.org/u-boot/20250923124639.667718-1-anshuld@ti.com/ Link: https://lore.kernel.org/r/20251017193318.4124997-1-anshuld@ti.com --- d5996409cecbc181ab3f4f04bdb24284a2837d9c