Commit 9920d151c4b22540a937c4225020069c583a7fad
Committed by
Tom Rini
1 parent
ad0ac54361
Exists in
smarc_8mq_lf_v2020.04
and in
20 other branches
ata: Migrate CONFIG_FSL_SATA to Kconfig
Use 'imply' here liberally to avoid the combinatorial explosion of defconfig changes in the PowerPC boards. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Showing 26 changed files with 24 additions and 20 deletions Side-by-side Diff
- arch/powerpc/cpu/mpc83xx/Kconfig
- arch/powerpc/cpu/mpc85xx/Kconfig
- configs/MPC8315ERDB_defconfig
- configs/MPC837XERDB_defconfig
- configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
- configs/controlcenterd_36BIT_SDCARD_defconfig
- drivers/ata/Kconfig
- include/configs/MPC8315ERDB.h
- include/configs/MPC837XEMDS.h
- include/configs/MPC837XERDB.h
- include/configs/MPC8536DS.h
- include/configs/P1010RDB.h
- include/configs/P1022DS.h
- include/configs/P2041RDB.h
- include/configs/T102xQDS.h
- include/configs/T1040QDS.h
- include/configs/T104xRDB.h
- include/configs/T208xQDS.h
- include/configs/T208xRDB.h
- include/configs/T4240QDS.h
- include/configs/T4240RDB.h
- include/configs/controlcenterd.h
- include/configs/corenet_ds.h
- include/configs/cyrus.h
- include/configs/t4qds.h
- scripts/config_whitelist.txt
arch/powerpc/cpu/mpc83xx/Kconfig
arch/powerpc/cpu/mpc85xx/Kconfig
| ... | ... | @@ -92,6 +92,7 @@ |
| 92 | 92 | # Use DDR3 controller with DDR2 DIMMs on this board |
| 93 | 93 | select SYS_FSL_DDRC_GEN3 |
| 94 | 94 | imply CMD_SATA |
| 95 | + imply FSL_SATA | |
| 95 | 96 | |
| 96 | 97 | config TARGET_MPC8541CDS |
| 97 | 98 | bool "Support MPC8541CDS" |
| ... | ... | @@ -148,6 +149,7 @@ |
| 148 | 149 | select SUPPORT_SPL |
| 149 | 150 | select SUPPORT_TPL |
| 150 | 151 | imply CMD_SATA |
| 152 | + imply FSL_SATA | |
| 151 | 153 | |
| 152 | 154 | config TARGET_P1023RDB |
| 153 | 155 | bool "Support P1023RDB" |
| ... | ... | @@ -230,6 +232,7 @@ |
| 230 | 232 | select BOARD_LATE_INIT if CHAIN_OF_TRUST |
| 231 | 233 | select PHYS_64BIT |
| 232 | 234 | imply CMD_SATA |
| 235 | + imply FSL_SATA | |
| 233 | 236 | |
| 234 | 237 | config TARGET_QEMU_PPCE500 |
| 235 | 238 | bool "Support qemu-ppce500" |
| ... | ... | @@ -244,6 +247,7 @@ |
| 244 | 247 | select PHYS_64BIT |
| 245 | 248 | imply CMD_EEPROM |
| 246 | 249 | imply CMD_SATA |
| 250 | + imply FSL_SATA | |
| 247 | 251 | |
| 248 | 252 | config TARGET_T1023RDB |
| 249 | 253 | bool "Support T1023RDB" |
| ... | ... | @@ -642,6 +646,7 @@ |
| 642 | 646 | imply CMD_SATA |
| 643 | 647 | imply CMD_PCI |
| 644 | 648 | imply CMD_REGINFO |
| 649 | + imply FSL_SATA | |
| 645 | 650 | |
| 646 | 651 | config ARCH_P1011 |
| 647 | 652 | bool |
| ... | ... | @@ -826,6 +831,7 @@ |
| 826 | 831 | imply CMD_NAND |
| 827 | 832 | imply CMD_SATA |
| 828 | 833 | imply CMD_REGINFO |
| 834 | + imply FSL_SATA | |
| 829 | 835 | |
| 830 | 836 | config ARCH_P4080 |
| 831 | 837 | bool |
| ... | ... | @@ -887,6 +893,7 @@ |
| 887 | 893 | select FSL_ELBC |
| 888 | 894 | imply CMD_SATA |
| 889 | 895 | imply CMD_REGINFO |
| 896 | + imply FSL_SATA | |
| 890 | 897 | |
| 891 | 898 | config ARCH_P5040 |
| 892 | 899 | bool |
| ... | ... | @@ -910,6 +917,7 @@ |
| 910 | 917 | select FSL_ELBC |
| 911 | 918 | imply CMD_SATA |
| 912 | 919 | imply CMD_REGINFO |
| 920 | + imply FSL_SATA | |
| 913 | 921 | |
| 914 | 922 | config ARCH_QEMU_E500 |
| 915 | 923 | bool |
| ... | ... | @@ -976,6 +984,7 @@ |
| 976 | 984 | imply CMD_NAND |
| 977 | 985 | imply CMD_SATA |
| 978 | 986 | imply CMD_REGINFO |
| 987 | + imply FSL_SATA | |
| 979 | 988 | |
| 980 | 989 | config ARCH_T1042 |
| 981 | 990 | bool |
| ... | ... | @@ -998,6 +1007,7 @@ |
| 998 | 1007 | imply CMD_NAND |
| 999 | 1008 | imply CMD_SATA |
| 1000 | 1009 | imply CMD_REGINFO |
| 1010 | + imply FSL_SATA | |
| 1001 | 1011 | |
| 1002 | 1012 | config ARCH_T2080 |
| 1003 | 1013 | bool |
| ... | ... | @@ -1023,6 +1033,7 @@ |
| 1023 | 1033 | imply CMD_SATA |
| 1024 | 1034 | imply CMD_NAND |
| 1025 | 1035 | imply CMD_REGINFO |
| 1036 | + imply FSL_SATA | |
| 1026 | 1037 | |
| 1027 | 1038 | config ARCH_T2081 |
| 1028 | 1039 | bool |
| ... | ... | @@ -1069,6 +1080,7 @@ |
| 1069 | 1080 | imply CMD_SATA |
| 1070 | 1081 | imply CMD_NAND |
| 1071 | 1082 | imply CMD_REGINFO |
| 1083 | + imply FSL_SATA | |
| 1072 | 1084 | |
| 1073 | 1085 | config ARCH_T4240 |
| 1074 | 1086 | bool |
| ... | ... | @@ -1096,6 +1108,7 @@ |
| 1096 | 1108 | imply CMD_SATA |
| 1097 | 1109 | imply CMD_NAND |
| 1098 | 1110 | imply CMD_REGINFO |
| 1111 | + imply FSL_SATA | |
| 1099 | 1112 | |
| 1100 | 1113 | config BOOKE |
| 1101 | 1114 | bool |
configs/MPC8315ERDB_defconfig
| ... | ... | @@ -19,6 +19,7 @@ |
| 19 | 19 | CONFIG_CMD_MTDPARTS=y |
| 20 | 20 | CONFIG_MTDIDS_DEFAULT="nand0=e0600000.flash" |
| 21 | 21 | CONFIG_MTDPARTS_DEFAULT="mtdparts=e0600000.flash:512k(uboot),128k(env),6m@1m(kernel),-(fs)" |
| 22 | +CONFIG_FSL_SATA=y | |
| 22 | 23 | # CONFIG_MMC is not set |
| 23 | 24 | CONFIG_MTD_NOR_FLASH=y |
| 24 | 25 | CONFIG_PHYLIB=y |
configs/MPC837XERDB_defconfig
configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
configs/controlcenterd_36BIT_SDCARD_defconfig
drivers/ata/Kconfig
| ... | ... | @@ -47,6 +47,12 @@ |
| 47 | 47 | Enable this driver to support Sata devices through |
| 48 | 48 | Synopsys DWC AHCI module. |
| 49 | 49 | |
| 50 | +config FSL_SATA | |
| 51 | + bool "Enable Freescale SATA controller driver support" | |
| 52 | + help | |
| 53 | + Enable this driver to support the SATA controller found in | |
| 54 | + some Freescale PowerPC SoCs. | |
| 55 | + | |
| 50 | 56 | config SATA_MV |
| 51 | 57 | bool "Enable Marvell SATA controller driver support" |
| 52 | 58 | help |
include/configs/MPC8315ERDB.h
include/configs/MPC837XEMDS.h
include/configs/MPC837XERDB.h
include/configs/MPC8536DS.h
include/configs/P1010RDB.h
include/configs/P1022DS.h
include/configs/P2041RDB.h
include/configs/T102xQDS.h
include/configs/T1040QDS.h
include/configs/T104xRDB.h
include/configs/T208xQDS.h
include/configs/T208xRDB.h
include/configs/T4240QDS.h
include/configs/T4240RDB.h
| ... | ... | @@ -241,7 +241,6 @@ |
| 241 | 241 | /* SATA */ |
| 242 | 242 | #ifdef CONFIG_FSL_SATA_V2 |
| 243 | 243 | #define CONFIG_LIBATA |
| 244 | -#define CONFIG_FSL_SATA | |
| 245 | 244 | |
| 246 | 245 | #define CONFIG_SYS_SATA_MAX_DEVICE 2 |
| 247 | 246 | #define CONFIG_SATA1 |
| ... | ... | @@ -636,7 +635,6 @@ |
| 636 | 635 | /* SATA */ |
| 637 | 636 | #ifdef CONFIG_FSL_SATA_V2 |
| 638 | 637 | #define CONFIG_LIBATA |
| 639 | -#define CONFIG_FSL_SATA | |
| 640 | 638 | |
| 641 | 639 | #define CONFIG_SYS_SATA_MAX_DEVICE 2 |
| 642 | 640 | #define CONFIG_SATA1 |
include/configs/controlcenterd.h
include/configs/corenet_ds.h
include/configs/cyrus.h
include/configs/t4qds.h