[PATCH V6 05/20] include: configs: am62x_evm: Wrap distroboot with CONFIG_DISTRO_DEFAULTS

Nishanth Menon nm at ti.com
Fri Aug 25 20:02:50 CEST 2023


Wrap the distro_boot options with CONFIG_DISTRO_DEFAULTS.

This is an intermediate step for us to switch over to
CONFIG_BOOTSTD_DEFAULTS and drop this section in follow on patches.

Reviewed-by: Tom Rini <trini at konsulko.com>
Tested-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>
Signed-off-by: Nishanth Menon <nm at ti.com>
---
No change other than picking up reviews, tested tags along the way.

V5: https://lore.kernel.org/r/20230824031101.3460411-4-nm@ti.com

 include/configs/am62x_evm.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/am62x_evm.h b/include/configs/am62x_evm.h
index 379e0c13a395..81d7658cdb0d 100644
--- a/include/configs/am62x_evm.h
+++ b/include/configs/am62x_evm.h
@@ -9,8 +9,10 @@
 #ifndef __CONFIG_AM625_EVM_H
 #define __CONFIG_AM625_EVM_H
 
+#ifdef CONFIG_DISTRO_DEFAULTS
 #include <config_distro_bootcmd.h>
 #include <env/ti/mmc.h>
+#endif
 
 /* Now for the remaining common defines */
 #include <configs/ti_armv7_common.h>
-- 
2.40.0



More information about the U-Boot mailing list