[PATCH 056/171] Correct SPL uses of CMD_SCSI

Simon Glass sjg at chromium.org
Mon Jan 30 15:41:29 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>
---

 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.456.gfc5497dd1b-goog



More information about the U-Boot mailing list