From: Emanuele Ghidoli <[email protected]> Use alias-based RAM probing to detect different memory configurations on Toradex iMX95 modules using LPDDR5. The address wrap-around is not linear on LPDDR5 modules: address bits above the module capacity alias back with some low address bits XORed (bit 32 -> XOR 0xc000), as measured on 4GB and 8GB modules.
Emanuele Ghidoli (2): board: toradex: smarc-imx95: detect RAM sizes board: toradex: aquila-imx95: detect RAM sizes board/toradex/aquila-imx95/aquila-imx95.c | 23 ++++++++++++++++++++++- board/toradex/smarc-imx95/smarc-imx95.c | 23 ++++++++++++++++++++++- include/configs/aquila-imx95.h | 15 +++++++++------ include/configs/toradex-smarc-imx95.h | 15 +++++++++------ 4 files changed, 62 insertions(+), 14 deletions(-) -- 2.43.0

