[U-Boot] [PATCH 2/2] sunxi: Enable MMC new mode for A83T

Chen-Yu Tsai wens at csie.org
Mon Aug 28 08:12:15 UTC 2017


On Mon, Aug 28, 2017 at 4:05 PM, Jagan Teki <jagannadh.teki at gmail.com> wrote:
> On Mon, Aug 28, 2017 at 12:29 PM, Maxime Ripard
> <maxime.ripard at free-electrons.com> wrote:
>> Hi Jagan,
>>
>> On Sat, Aug 26, 2017 at 12:11:23PM +0530, Jagan Teki wrote:
>>> On Wed, Aug 23, 2017 at 3:33 PM, Maxime Ripard
>>> <maxime.ripard at free-electrons.com> wrote:
>>> > The eMMC controller for the A83T uses the new operating mode. Enable it.
>>> >
>>> > Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
>>>
>>> Reviewed-by: Jagan Teki <jagan at openedev.com>
>>
>> I think both these patches should be merged in the upcoming
>> release. It's a fix for a usecase that already exists (we already
>> enable the eMMC on A83T), and it's unusable on some boards without it.
>
> But none of A83T boards were not enable eMMC yet? even sun8i-a83t.dtsi
> still need to add node. May be we can wait once all add?

The sunxi-mmc driver does not use the device tree.

One only needs to set CONFIG_MMC_SUNXI_SLOT_EXTRA=2 to use the eMMC.
And yes, eMMC is broken on some boards unless the new timing mode is
used.

ChenYu

> # grep -R 83T configs/
> configs/Sinovoip_BPI_M3_defconfig:CONFIG_MACH_SUN8I_A83T=y
> configs/h8_homlet_v2_defconfig:CONFIG_MACH_SUN8I_A83T=y
> configs/Cubietruck_plus_defconfig:CONFIG_MACH_SUN8I_A83T=y


More information about the U-Boot mailing list