doc: board: phytec: Document DDR size override Kconfigs

The phyCORE-AM62x and phyCORE-AM64x R5 SPL detects the populated DDR
size from the SoM EEPROM and falls back to 2 GB if detection fails. For
boards without a populated EEPROM or if no detection needed, the detection
can be bypassed via CONFIG_PHYCORE_AM6{2,4}X_RAM_SIZE_FIX and one of
the CONFIG_PHYCORE_AM6{2,4}X_RAM_SIZE_<size> choices.

Add a "DDR RAM Size" section to both board docs describing this
behaviour and listing the available size options (1/2/4 GB for AM62x,
1/2 GB for AM64x).

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
This commit is contained in:
Wadim Egorov
2026-05-29 14:22:38 -06:00
committed by Tom Rini
parent 14ba26ebdd
commit 6e8d82b9e9
2 changed files with 37 additions and 0 deletions
+19
View File
@@ -177,6 +177,25 @@ Boot switches should be changed with power off.
- 11001010
- 00100000
DDR RAM Size
------------
By default, the R5 SPL detects the populated DDR size by reading the SoM
EEPROM and configures the DDR controller and the U-Boot device-tree memory
node accordingly. The phyCORE-AM62x is available with 1 GB, 2 GB, or 4 GB of
DDR. If the EEPROM cannot be read or is invalid, the SPL falls back to a
2 GB configuration.
EEPROM-based detection can be bypassed by enabling
`CONFIG_PHYCORE_AM62X_RAM_SIZE_FIX` in the R5 defconfig and selecting one of:
* `CONFIG_PHYCORE_AM62X_RAM_SIZE_1GB`
* `CONFIG_PHYCORE_AM62X_RAM_SIZE_2GB`
* `CONFIG_PHYCORE_AM62X_RAM_SIZE_4GB`
This is mainly useful if no detection is needed or for boards without a
populated SoM EEPROM.
.. include:: k3-common.rst
Further Information
+18
View File
@@ -175,6 +175,24 @@ Boot switches should be changed with power off.
- 11011100
- 00000000
DDR RAM Size
------------
By default, the R5 SPL detects the populated DDR size by reading the SoM
EEPROM and configures the DDR controller and the U-Boot device-tree memory
node accordingly. The phyCORE-AM64x is available with 1 GB or 2 GB of DDR.
If the EEPROM cannot be read or is invalid, the SPL falls back to a 2 GB
configuration.
EEPROM-based detection can be bypassed by enabling
`CONFIG_PHYCORE_AM64X_RAM_SIZE_FIX` in the R5 defconfig and selecting one of:
* `CONFIG_PHYCORE_AM64X_RAM_SIZE_1GB`
* `CONFIG_PHYCORE_AM64X_RAM_SIZE_2GB`
This is mainly useful if no detection is needed or for boards without a
populated SoM EEPROM.
.. include:: k3-common.rst
Further Information