mirror of
https://xff.cz/git/u-boot/
synced 2025-11-02 19:36:22 +01:00
We might not be able to always rely on the EEPROM introspection data. So add a config option alternative which configures the RAM size to a fix value. We still try to read the EEPROM introspection data at this point. So we can print the SoM information if available. Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
65 lines
1.5 KiB
Plaintext
65 lines
1.5 KiB
Plaintext
if TARGET_PHYCORE_IMX8MP
|
|
|
|
config SYS_BOARD
|
|
default "phycore_imx8mp"
|
|
|
|
config SYS_VENDOR
|
|
default "phytec"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "phycore_imx8mp"
|
|
|
|
config IMX_CONFIG
|
|
default "board/phytec/phycore_imx8mp/imximage-8mp-sd.cfg"
|
|
|
|
config PHYCORE_IMX8MP_RAM_SIZE_FIX
|
|
bool "Set phyCORE-i.MX8MP RAM size fix instead of detecting"
|
|
default false
|
|
help
|
|
RAM size is automatic being detected with the help of
|
|
the EEPROM introspection data. Set RAM size to a fix value
|
|
instead.
|
|
|
|
choice
|
|
prompt "phyCORE-i.MX8MP RAM size"
|
|
depends on PHYCORE_IMX8MP_RAM_SIZE_FIX
|
|
default PHYCORE_IMX8MP_RAM_SIZE_2GB
|
|
|
|
config PHYCORE_IMX8MP_RAM_SIZE_1GB
|
|
bool "1GB RAM"
|
|
help
|
|
Set RAM size fix to 1GB for phyCORE-i.MX8MP.
|
|
RAM frequency is configured independent.
|
|
|
|
config PHYCORE_IMX8MP_RAM_SIZE_2GB
|
|
bool "2GB RAM"
|
|
help
|
|
Set RAM size fix to 2GB for phyCORE-i.MX8MP.
|
|
RAM frequency is configured independent.
|
|
|
|
config PHYCORE_IMX8MP_RAM_SIZE_4GB
|
|
bool "4GB RAM"
|
|
help
|
|
Set RAM size fix to 4GB for phyCORE-i.MX8MP.
|
|
RAM frequency is configured independent.
|
|
|
|
config PHYCORE_IMX8MP_RAM_SIZE_8GB
|
|
bool "8GB RAM"
|
|
select PHYCORE_IMX8MP_USE_2GHZ_RAM_TIMINGS
|
|
help
|
|
Set RAM size fix to 8GB for phyCORE-i.MX8MP.
|
|
Only 2GHz RAMs are supported.
|
|
|
|
endchoice
|
|
|
|
config PHYCORE_IMX8MP_USE_2GHZ_RAM_TIMINGS
|
|
bool "Use 2GHz RAM timings"
|
|
depends on PHYCORE_IMX8MP_RAM_SIZE_FIX
|
|
default false
|
|
help
|
|
Use fix 2GHz RAM timings for phyCORE-i.MX8MP instead of
|
|
1.5GHz timings.
|
|
|
|
source "board/phytec/common/Kconfig"
|
|
endif
|