diff options
| author | Ferass El Hafidi <[email protected]> | 2025-11-26 12:17:04 +0000 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2025-12-11 11:44:41 +0100 |
| commit | 3eee9c1f61fc4ec0b7823477fbdac31d136fc729 (patch) | |
| tree | f688275f3353aba82e3b812a18f44046112481c6 /arch/arm/include | |
| parent | 18c1654567dca70d848a4da1af93ea86632a45ba (diff) | |
mmc: meson_gx_mmc: add minimal non-DM driver
Add a minimal non-DM MMC driver for use in size-constrained
environments.
Signed-off-by: Ferass El Hafidi <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'arch/arm/include')
| -rw-r--r-- | arch/arm/include/asm/arch-meson/gx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-meson/gx.h b/arch/arm/include/asm/arch-meson/gx.h index 26ec5d0bc34..8cfc6b00329 100644 --- a/arch/arm/include/asm/arch-meson/gx.h +++ b/arch/arm/include/asm/arch-meson/gx.h @@ -41,4 +41,9 @@ #define GX_GPIO_IN(n) GX_PERIPHS_ADDR(_GX_GPIO_OFF(n) + 1) #define GX_GPIO_OUT(n) GX_PERIPHS_ADDR(_GX_GPIO_OFF(n) + 2) +/* Non-DM MMC init */ +#if CONFIG_IS_ENABLED(MMC) && !CONFIG_IS_ENABLED(DM_MMC) +struct mmc *meson_mmc_init(int mmc_no); +#endif + #endif /* __GX_H__ */ |
