[U-Boot] [PATCH 05/10] ata: Migrate CONFIG_SATA_MV to Kconfig

Tuomas Tynkkynen tuomas.tynkkynen at iki.fi
Fri Dec 8 13:36:16 UTC 2017


Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>
---
 configs/db-mv784mp-gp_defconfig     | 1 +
 configs/theadorable_debug_defconfig | 1 +
 drivers/ata/Kconfig                 | 6 ++++++
 include/configs/db-mv784mp-gp.h     | 1 -
 include/configs/theadorable.h       | 1 -
 scripts/config_whitelist.txt        | 1 -
 6 files changed, 8 insertions(+), 3 deletions(-)

diff --git configs/db-mv784mp-gp_defconfig configs/db-mv784mp-gp_defconfig
index 23eaa123a2..6724af04bc 100644
--- configs/db-mv784mp-gp_defconfig
+++ configs/db-mv784mp-gp_defconfig
@@ -37,6 +37,7 @@ CONFIG_EFI_PARTITION=y
 # CONFIG_PARTITION_UUIDS is not set
 # CONFIG_SPL_PARTITION_UUIDS is not set
 CONFIG_SPL_OF_TRANSLATE=y
+CONFIG_SATA_MV=y
 # CONFIG_MMC is not set
 CONFIG_NAND=y
 CONFIG_NAND_PXA3XX=y
diff --git configs/theadorable_debug_defconfig configs/theadorable_debug_defconfig
index 863d6ce3d0..f602c839c3 100644
--- configs/theadorable_debug_defconfig
+++ configs/theadorable_debug_defconfig
@@ -42,6 +42,7 @@ CONFIG_EFI_PARTITION=y
 # CONFIG_SPL_PARTITION_UUIDS is not set
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_OF_TRANSLATE=y
+CONFIG_SATA_MV=y
 CONFIG_FPGA_ALTERA=y
 CONFIG_DM_GPIO=y
 # CONFIG_MMC is not set
diff --git drivers/ata/Kconfig drivers/ata/Kconfig
index 77e0fbb217..8dfa4670cc 100644
--- drivers/ata/Kconfig
+++ drivers/ata/Kconfig
@@ -47,6 +47,12 @@ config DWC_AHCI
 	  Enable this driver to support Sata devices through
 	  Synopsys DWC AHCI module.
 
+config SATA_MV
+	bool "Enable Marvell SATA controller driver support"
+	help
+	  Enable this driver to support the SATA controller found in
+	  some Marvell SoCs.
+
 config SATA_SIL
 	bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support"
 	help
diff --git include/configs/db-mv784mp-gp.h include/configs/db-mv784mp-gp.h
index 4a5be6188f..105578ffc6 100644
--- include/configs/db-mv784mp-gp.h
+++ include/configs/db-mv784mp-gp.h
@@ -49,7 +49,6 @@
 
 /* SATA support */
 #define CONFIG_SYS_SATA_MAX_DEVICE	2
-#define CONFIG_SATA_MV
 #define CONFIG_LIBATA
 #define CONFIG_LBA48
 
diff --git include/configs/theadorable.h include/configs/theadorable.h
index a7001e76aa..774324f28b 100644
--- include/configs/theadorable.h
+++ include/configs/theadorable.h
@@ -65,7 +65,6 @@
 
 /* SATA support */
 #define CONFIG_SYS_SATA_MAX_DEVICE	1
-#define CONFIG_SATA_MV
 #define CONFIG_LIBATA
 #define CONFIG_LBA48
 
diff --git scripts/config_whitelist.txt scripts/config_whitelist.txt
index 625f610a16..955369abde 100644
--- scripts/config_whitelist.txt
+++ scripts/config_whitelist.txt
@@ -1904,7 +1904,6 @@ CONFIG_SAR2_REG
 CONFIG_SAR_REG
 CONFIG_SATA1
 CONFIG_SATA2
-CONFIG_SATA_MV
 CONFIG_SATA_ULI5288
 CONFIG_SBC8349
 CONFIG_SBC8548
-- 
2.15.0



More information about the U-Boot mailing list