[U-Boot] [PATCH 0/4] mmc: meson: add MMC support for Meson GX (S905)

Heiner Kallweit hkallweit1 at gmail.com
Fri Jan 20 08:16:27 CET 2017


This patch set implements eMMC on Amlogic Meson GX (S905).
It's based on Carlo Caione's work submitted here:
http://lists.denx.de/pipermail/u-boot/2016-May/254391.html

Changes to the original version:
- BLK support added
- fully DT-based now
- minor general refactoring

The driver was successfully tested on a Odroid C2.

Note: On Odroid C2 eMMC is MMC device 1. So you have to
switch from MMC device 0 to 1 first when testing from
uboot prompt.

Heiner Kallweit (4):
  mmc: meson: Add MMC nodes to Meson GXBB DT
  mmc: meson: enable MMC device nodes on Odroid C2
  mmc: meson: Add MMC driver for Meson GX (S905)
  mmc: meson: add MMC support in Odroid C2 board init / config

 arch/arm/dts/meson-gxbb-odroidc2.dts      |   8 +
 arch/arm/dts/meson-gxbb.dtsi              |  18 ++
 arch/arm/include/asm/arch-meson/gxbb.h    |   2 +
 arch/arm/include/asm/arch-meson/sd_emmc.h |  77 ++++++++
 board/amlogic/odroid-c2/odroid-c2.c       |  27 +++
 configs/odroid-c2_defconfig               |   6 +-
 drivers/mmc/Kconfig                       |  11 ++
 drivers/mmc/Makefile                      |   1 +
 drivers/mmc/meson_gx_mmc.c                | 281 ++++++++++++++++++++++++++++++
 include/configs/meson-gxbb-common.h       |   4 +
 10 files changed, 434 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/include/asm/arch-meson/sd_emmc.h
 create mode 100644 drivers/mmc/meson_gx_mmc.c

-- 
2.11.0



More information about the U-Boot mailing list