[PATCH v2 054/169] Correct SPL uses of CMD_SCSI

Simon Glass sjg at chromium.org
Sun Feb 5 23:36:40 CET 2023


This converts 2 usages of this option to the non-SPL form, since there is
no SPL_CMD_SCSI defined in Kconfig

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 include/configs/qemu-arm.h        | 2 +-
 include/configs/rockchip-common.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h
index 4cae2b103e6..23fba23ce0a 100644
--- a/include/configs/qemu-arm.h
+++ b/include/configs/qemu-arm.h
@@ -42,7 +42,7 @@
 # define BOOT_TARGET_USB(func)
 #endif
 
-#if CONFIG_IS_ENABLED(CMD_SCSI)
+#if IS_ENABLED(CONFIG_CMD_SCSI)
 # define BOOT_TARGET_SCSI(func) func(SCSI, scsi, 0)
 #else
 # define BOOT_TARGET_SCSI(func)
diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h
index 332338a876d..0f47c111745 100644
--- a/include/configs/rockchip-common.h
+++ b/include/configs/rockchip-common.h
@@ -26,7 +26,7 @@
 	#define BOOT_TARGET_NVME(func)
 #endif
 
-#if CONFIG_IS_ENABLED(CMD_SCSI)
+#if IS_ENABLED(CONFIG_CMD_SCSI)
 	#define BOOT_TARGET_SCSI(func) func(SCSI, scsi, 0)
 #else
 	#define BOOT_TARGET_SCSI(func)
-- 
2.39.1.519.gcb327c4b5f-goog



More information about the U-Boot mailing list