|
@@ -395,6 +395,18 @@ extern int soft_i2c_gpio_scl;
|
|
|
#define BOOTENV_DEV_NAME_FEL(devtypeu, devtypel, instance) \
|
|
|
"fel "
|
|
|
|
|
|
+#if CONFIG_IS_ENABLED(CMD_PXE)
|
|
|
+# define BOOT_TARGET_PXE(func) func(PXE, pxe, na)
|
|
|
+#else
|
|
|
+# define BOOT_TARGET_PXE(func)
|
|
|
+#endif
|
|
|
+
|
|
|
+#if CONFIG_IS_ENABLED(CMD_DHCP)
|
|
|
+# define BOOT_TARGET_DHCP(func) func(DHCP, dhcp, na)
|
|
|
+#else
|
|
|
+# define BOOT_TARGET_DHCP(func)
|
|
|
+#endif
|
|
|
+
|
|
|
#define BOOT_TARGET_DEVICES(func) \
|
|
|
func(FEL, fel, na) \
|
|
|
BOOT_TARGET_DEVICES_MMC(func) \
|