[PATCH v2 0/2] common/memsize.c: Fix get_ram_size() when cache is enabled
Tom Rini
trini at konsulko.com
Thu Jun 22 16:00:44 CEST 2023
On Tue, 30 May 2023 15:33:25 +0200, Francesco Dolcini wrote:
> From: Francesco Dolcini <francesco.dolcini at toradex.com>
>
> Ensure that every write is flushed to memory and afterward reads are
> from memory.
> Since the algorithm rely on the fact that accessing to not existent
> memory lead to write at addr / 2 without this modification accesses
> to aliased (not physically present) addresses are cached and
> wrong size is returned.
>
> [...]
Applied to u-boot/next, thanks!
--
Tom
More information about the U-Boot
mailing list