From d2c49aad51e930e40a4bff6b4727b070248e7eb5 Mon Sep 17 00:00:00 2001 From: Yunfeng Ding Date: Tue, 19 Feb 2019 14:44:04 +0800 Subject: [PATCH] board: Enable DHCP distro boot for LS1012a, LS1021a Enable DHCP distro boot for Layerscape LS1012A and LS1021A. Signed-off-by: Yunfeng Ding Signed-off-by: Prabhakar Kushwaha --- include/configs/ls1012a_common.h | 5 +++-- include/configs/ls1021atwr.h | 3 ++- 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 #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 #ifdef CONFIG_LPUART -- GitLab