]> git.baikalelectronics.ru Git - uboot.git/commit
Merge branch '2022-09-23-4gb-ddr-in-32bit-ppc' into next
authorTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 22:42:53 +0000 (18:42 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 22:42:53 +0000 (18:42 -0400)
commit60438a7c0dc8c5a7074f304d534f12fd89aa5854
tree8ab2a2636dc86ebb2ccb312512d5f402cf2b3e7e
parentf7c9f126a83086327b873991fd3eacc701d7d121
parentfac2e519bb41604a903262f5a5e8931885b0674e
Merge branch '2022-09-23-4gb-ddr-in-32bit-ppc' into next

To quote the author, for the first 9 patches:
This patch series fixes U-Boot code to correctly handle RAM size larger
than 2 GB and then fixes fsl ddr driver to do not crash U-Boot when 4 GB
DDR module is detected when U-Boot operates in 32-bit mode (as opposite
of the 36-bit mode).

With this patch series it is possible to boot 32-bit U-Boot with 4 GB
SODIMM DDR3 module without crashes. U-Boot will still use just
CONFIG_MAX_MEM_MAPPED amount of RAM, but it is better than crashing due
to the truncating of 4GB value to 32-bit number (which is zero).

I tested this patch series on powerpc P2020 based board but only with
U-Boot v2022.04 because U-Boot master branch is still broken on P2020.

And then the final two patches here are (in my mind at least) related
clean-ups.