[PATCH] sunxi: a523: Re-use H6/H616 DRAM size detection method

Chen-Yu Tsai wens at kernel.org
Mon Oct 20 18:57:25 CEST 2025


On Mon, Oct 20, 2025 at 10:26 PM Andre Przywara <andre.przywara at arm.com> wrote:
>
> The H6 and H616 DRAM initialisation code recently gained a joint and
> improved size detection routine, which helped to avoid the occasional
> DRAM size misdetection.
>
> Use the same code for the A523 DRAM initialisation as well, which
> suffers from the same misdetection at times.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Previously I would get 8GB on my 4GB Cubie A5E every couple of reboots.
With this change that hasn't happened. Consider this a not so scientific
test.

Tested-by: Chen-Yu Tsai <wens at kernel.org>


More information about the U-Boot mailing list