[PATCH 2/3] arch/arm/boards/avnet-zedboard/lowlevel.c: added SDIO clk frequency configuration
Sascha Hauer
sha at pengutronix.de
Tue Aug 5 02:35:03 PDT 2025
On Mon, Jul 07, 2025 at 05:53:30AM +0000, Gwenhael Goavec-Merou wrote:
> From: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
>
> As mentionned in [1] MMC sometime fails to be initialized/ is not
> working with this type of error:
>
> arasan-sdhci e0100000.mmc at e0100000.of: registered as mmc0
> malloc space: 0x17e00000 -> 0x1fdfffff (size 128 MiB)
> arasan-sdhci e0100000.mmc at e0100000.of: error while transferring data for command 6
> arasan-sdhci e0100000.mmc at e0100000.of: state = 0x01ff0202 , interrupt = 0x00208000
> mmc0: Card's startup fails with -74
> barebox-environment chosen:environment-sd.of: probe failed: No such file or directory
> environment load /dev/env0: No such file or directory
>
> This patch adds SDIO clck configuration allowing to have a valid MMC
> clock frequency.
>
> [1] https://lore.barebox.org/barebox/VI1PR02MB4429606E3B06D0F53D2B4175AB4DA@VI1PR02MB4429.eurprd02.prod.outlook.com/T/#m1cb8598da4741c0b7a41944e1aecef373dd74319
>
> Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
> ---
> arch/arm/boards/avnet-zedboard/lowlevel.c | 1 +
> 1 file changed, 1 insertion(+)
Applied with Ahmads suggestion for the subject.
Thanks,
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list