Re: [PATCH v2 08/21] aspeed/sdhci: Fix reset sequence

2020-08-24 Thread Joel Stanley
On Wed, 19 Aug 2020 at 10:10, Cédric Le Goater wrote: > > BIT(0) of the ASPEED_SDHCI_INFO register is set by SW and polled until > the bit is cleared by HW. > > Use the number of supported slots to define the default value of this > register (The AST2600 eMMC Controller only has one). Fix the rese

[PATCH v2 08/21] aspeed/sdhci: Fix reset sequence

2020-08-19 Thread Cédric Le Goater
BIT(0) of the ASPEED_SDHCI_INFO register is set by SW and polled until the bit is cleared by HW. Use the number of supported slots to define the default value of this register (The AST2600 eMMC Controller only has one). Fix the reset sequence by clearing automatically the RESET bit. Cc: Eddie Jam