[PATCH] mmc: atmel_sdhci: re-enable sdhci after SD Card re-insertion
Eugen.Hristev at microchip.com
Eugen.Hristev at microchip.com
Wed Aug 17 08:06:14 CEST 2022
On 7/8/22 3:40 PM, Eugen Hristev - M18282 wrote:
> On 6/22/22 4:30 PM, Sergiu Moga wrote:
>> Whenever the SD Card would be removed and then re-inserted while in the
>> U-Boot command line, the `SDBPWR` bit of the `SDMMC_PCR` register would
>> remain unset afterwards. In order for the bit to be set again after
>> re-insertion, register an additional `deferred_probe` method that the
>> DM would then transparently call. This method will call the generic
>> `sdhci_probe` which will, during its execution flow, set this bit to 1.
>>
>> Signed-off-by: Sergiu Moga <sergiu.moga at microchip.com>
>> Reported-by: Mihai Sain <mihai.sain at microchip.com>
>> Reviewed-by: Eugen Hristev <eugen.hristev at microchip.com>
>> ---
>
> Hi Peng,
>
> To take this patch into my tree I would be happy if you had a look or
> reviewed it first.
>
> Thanks,
> Eugen
>
Applied to u-boot-at91/next , thanks !
More information about the U-Boot
mailing list