phycore_imx8mp: Rework some of the RAM related Kconfig symbols
PATCH 1/1 phycore_imx8mp: Rework some of the RAM related Kconfig symbols
As the code is today, we get a warning about "select" statements on "choice" options not doing anything. In this case we can easily fix this by dropping the select line as the following choice statement handles things correctly. We also drop the "default false" line as false / n is the default.
---
Cc: Teresa Remmet <[email protected]>
--- board/phytec/phycore_imx8mp/Kconfig | 2 -- 1 file changed, 2 deletions(-)
board/phytec/phycore_imx8mp/Kconfig +0 -2
@@ -45,7 +45,6 @@ config PHYCORE_IMX8MP_RAM_SIZE_4GB 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.
@@ -54,7 +53,6 @@ endchoice config PHYCORE_IMX8MP_RAM_FREQ_FIX bool "Set phyCORE-i.MX8MP RAM frequency fix instead of detecting" - default false help RAM frequency is automatic being detected with the help of the EEPROM introspection data. Set RAM frequency to a fix value
Signature · 1 line
2.43.0
Am Freitag, dem 14.03.2025 um 19:29 -0600 schrieb Tom Rini:
Quoted 9 lines
As the code is today, we get a warning about "select" statements on "choice" options not doing anything. In this case we can easily fix this
by dropping the select line as the following choice statement handles things correctly. We also drop the "default false" line as false / n is
the default.Signed-off-by Tom Rini <[email protected]>
Quoted 29 lines
---
Cc: Teresa Remmet <[email protected]>
---
board/phytec/phycore_imx8mp/Kconfig | 2 --1 file changed, 2 deletions(-)board/phytec/phycore_imx8mp/Kconfig +0
-0@@ -45,7 +45,6 @@ config PHYCORE_IMX8MP_RAM_SIZE_4GB
configPHYCORE_IMX8MP_RAM_SIZE_8GB
bool "8GB RAM"
- selectPHYCORE_IMX8MP_USE_2GHZ_RAM_TIMINGShelp
Set RAM size fix to 8GB for phyCORE-i.MX8MP. Only 2GHz RAMs are supported.board/phytec/phycore_imx8mp/Kconfig +0
-0@@ -54,7 +53,6 @@ endchoice
configPHYCORE_IMX8MP_RAM_FREQ_FIX
bool "Set phyCORE-i.MX8MP RAM frequency fix instead of detecting"
- default false
help
RAM frequency is automatic being detected with the help of the EEPROM introspection data. Set RAM frequency to a fix value
Signature · 5 lines
PHYTEC Messtechnik GmbH | Barcelona-Allee 1 | 55129 Mainz, Germany Geschäftsführer: Dipl.-Ing. Michael Mitezki, Dipl.-Ing. Bodo Huber, Dipl.-Ing. (FH) Markus Lickes | Handelsregister Mainz HRB 4656 | Finanzamt Mainz | St.Nr. 26/665/00608, DE 149059855
Fabio Estevam
reviewerQuoted 10 lines · Tom Rini
As the code is today, we get a warning about "select" statements on "choice" options not doing anything. In this case we can easily fix this by dropping the select line as the following choice statement handles things correctly. We also drop the "default false" line as false / n is the default.
Signed-off-by Tom Rini <[email protected]>---
Cc: Teresa Remmet <[email protected]>
Applied to u-boot-imx/next, thanks.