diff options
author | Patrice Chotard <patrice.chotard@foss.st.com> | 2025-04-01 18:11:39 +0200 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2025-04-25 16:00:23 +0200 |
commit | d54ed9bfd3c709f8bab5cb226cdde4d7bb0b95f7 (patch) | |
tree | ba9a06f439208f05d06b7e6316c8facec3817f48 | |
parent | 9231b6070be08badc46a8aa0fd8f69fbaeee12e0 (diff) |
configs: stm32mp25: add PXE boot support
Configure the required configuration to allow PXE boot,
without autoload support by default.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
-rw-r--r-- | include/configs/stm32mp25_common.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/configs/stm32mp25_common.h b/include/configs/stm32mp25_common.h index 481b25a1f02..b42316fd8ac 100644 --- a/include/configs/stm32mp25_common.h +++ b/include/configs/stm32mp25_common.h @@ -25,6 +25,12 @@ #ifdef CONFIG_DISTRO_DEFAULTS /*****************************************************************************/ +#ifdef CONFIG_NET +#define BOOT_TARGET_PXE(func) func(PXE, pxe, na) +#else +#define BOOT_TARGET_PXE(func) +#endif + #ifdef CONFIG_CMD_MMC #define BOOT_TARGET_MMC0(func) func(MMC, mmc, 0) #define BOOT_TARGET_MMC1(func) func(MMC, mmc, 1) @@ -52,7 +58,8 @@ BOOT_TARGET_UBIFS(func) \ BOOT_TARGET_MMC0(func) \ BOOT_TARGET_MMC2(func) \ - BOOT_TARGET_USB(func) + BOOT_TARGET_USB(func) \ + BOOT_TARGET_PXE(func) /* * default bootcmd for stm32mp25: |