Skip to contentSkip to conversation

dm: sunxi: Move Linksprite_pcDuino3_Nano to use DM for MMC, SATA

PATCH New Adam Sampson 2 participants 3 messages Jun 27, 2018 – Jun 28, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dm: sunxi: Move Linksprite_pcDuino3_Nano to use DM for MMC, SATA

Move to the driver model for MMC and SATA, which means it implicitly uses CONFIG_BLK too.

---

 configs/Linksprite_pcDuino3_Nano_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/Linksprite_pcDuino3_Nano_defconfig +2 -0
index 2df6761455..d6c95d000c 100644
@@ -15,9 +15,11 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_SCSI_AHCI=y
+CONFIG_DM_MMC=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_SCSI=y
+CONFIG_DM_SCSI=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
Signature · 1 line
2.18.0
#1 lore raw

PATCH 2/2 dm: sunxi: Move Cubietruck to use DM for MMC, SATA

Move to the driver model for MMC and SATA, which means it implicitly uses CONFIG_BLK too.

---

 configs/Cubietruck_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/Cubietruck_defconfig +2 -0
index 601eb3ca0c..1b73bd7cc7 100644
@@ -22,10 +22,12 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_SCSI_AHCI=y
 CONFIG_DFU_RAM=y
 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
+CONFIG_DM_MMC=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_SCSI=y
+CONFIG_DM_SCSI=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
Signature · 1 line
2.18.0
#2 lore raw

PATCH 2/2 dm: sunxi: Move Cubietruck to use DM for MMC, SATA

Quoted 4 lines · Adam Sampson

Move to the driver model for MMC and SATA, which means it implicitly uses CONFIG_BLK too.

This should be done at the Kconfig level for all the boards, so that we switch every one at once instead of having to maintain a long trail of platforms not yet converted.

Thanks!
Maxime

Signature · 3 lines
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com