[U-Boot] [PATCH v2 00/15] dm: sata: mmc: Convert a sunxi board to driver model for MMC, SATA

Peter Robinson pbrobinson at gmail.com
Fri Aug 18 19:31:23 UTC 2017


Hi Simon

On Fri, Jul 28, 2017 at 1:27 PM, Jaehoon Chung <jh80.chung at samsung.com> wrote:
> Dear Simon,
>
> On 07/05/2017 04:31 AM, Simon Glass wrote:
>> At present SCSI support for driver model works only with PCI controllers.
>>
>> This series makes the following changes:
>>
>> - Adjusts SATA/AHCI support to work with non-PCI controllers
>> - Allows driver model to be used for MMC in U-Boot proper without
>> requiring it to be used in SPL
>> - Adjusts sunxi MMC and SATA drivers to support driver model
>> - Enables this on a single board (Linksprite_pcDuino3)
>>
>> Even with this series the AHCI uclass still does not have any operations.
>> This will be needed for drivers which do not use SCSI. Further work is
>> needed to complete this.
>>
>> Changes in v2:
>> - Drop debugging printf() now that the card detect is working
>> - Add new patch to correct polarity of MMC card detect on Linksprite_pcDuino3
>
> Applied to u-boot-mmc. Thanks!
>
> Best Regards,
> Jaehoon Chung
>
>>
>> Simon Glass (15):
>>   ahci: Support non-PCI controllers
>>   dm: mmc: Allow disabling driver model in SPL
>>   fdt: Correct fdt_get_base_address()
>>   dm: scsi: Drop duplicate SCSI and DM_SCSI options
>>   dm: ahci: Correct uclass private data
>>   dm: mmc: sunxi: Rename struct sunxi_mmc_host to sunxi_mmc_priv
>>   dm: mmc: sunxi: Rename mmchost to priv
>>   dm: mmc: sunxi: Pass private data around explicitly
>>   dm: mmc: sunxi: Drop mmc_clk_io_on()
>>   dm: mmc: sunxi: Add support for driver model
>>   dm: sunxi: Linksprite_pcDuino3: Correct polarity of MMC card detect
>>   dm: scsi: Don't scan the SCSI bus when probing
>>   dm: sunxi: sata: Don't build sata support into SPL
>>   dm: sata: sunxi: Add support for driver model
>>   dm: sunxi: Move Linksprite_pcDuino3 to use DM for MMC, SATA

So I was playing around with this for the Pine64 based on your
pcDuino3 example patch and it doesn't find the MMC controller, is
there other DM conversions that might be needed for some of the sunxi
devices?

Peter


More information about the U-Boot mailing list