From patchwork Tue Apr 28 10:36:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pramod Kumar X-Patchwork-Id: 238721 List-Id: U-Boot discussion From: pramod.kumar_1 at nxp.com (Pramod Kumar) Date: Tue, 28 Apr 2020 16:06:36 +0530 Subject: [PATCH v1] include/configs: ls1046afrwy: remove unsupported sata as boot target Message-ID: <1588070196-14435-1-git-send-email-pramod.kumar_1@nxp.com> ls1046afrwy does not support sata boot. Remove unsupported scsi0 from boot_targets. Signed-off-by: Pramod Kumar --- include/configs/ls1046afrwy.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/configs/ls1046afrwy.h b/include/configs/ls1046afrwy.h index 4ccd3b0..6ee1a53 100644 --- a/include/configs/ls1046afrwy.h +++ b/include/configs/ls1046afrwy.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0+ */ /* - * Copyright 2019 NXP + * Copyright 2019-2020 NXP */ #ifndef __LS1046AFRWY_H__ @@ -102,6 +102,14 @@ #define CONFIG_SYS_FSL_QSPI_BASE 0x40000000 +#ifndef CONFIG_SPL_BUILD +#undef BOOT_TARGET_DEVICES +#define BOOT_TARGET_DEVICES(func) \ + func(MMC, mmc, 0) \ + func(USB, usb, 0) \ + func(DHCP, dhcp, na) +#endif + /* FMan */ #ifdef CONFIG_SYS_DPAA_FMAN #define CONFIG_FMAN_ENET