summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunfeng Ding <yunfeng.ding@nxp.com>2019-02-19 14:44:04 +0800
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2019-03-03 22:01:19 +0530
commitd2c49aad51e930e40a4bff6b4727b070248e7eb5 (patch)
treebf788c79f91423e061fc0a895a639c248408fbd0
parent7122f791414ab9a7669c9956d251e4a1b0ffb114 (diff)
board: Enable DHCP distro boot for LS1012a, LS1021a
Enable DHCP distro boot for Layerscape LS1012A and LS1021A. Signed-off-by: Yunfeng Ding <yunfeng.ding@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-rw-r--r--include/configs/ls1012a_common.h5
-rw-r--r--include/configs/ls1021atwr.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
index 9bbf34883e..04639c175f 100644
--- a/include/configs/ls1012a_common.h
+++ b/include/configs/ls1012a_common.h
@@ -95,9 +95,10 @@
#ifndef CONFIG_SPL_BUILD
#define BOOT_TARGET_DEVICES(func) \
- func(SCSI, scsi, 0) \
func(MMC, mmc, 0) \
- func(USB, usb, 0)
+ func(USB, usb, 0) \
+ func(SCSI, scsi, 0) \
+ func(DHCP, dhcp, na)
#include <config_distro_bootcmd.h>
#endif
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 2c91ae783b..4b6760b600 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -315,7 +315,8 @@
#define BOOT_TARGET_DEVICES(func) \
func(MMC, mmc, 0) \
- func(USB, usb, 0)
+ func(USB, usb, 0) \
+ func(DHCP, dhcp, na)
#include <config_distro_bootcmd.h>
#ifdef CONFIG_LPUART