Skip to contentSkip to conversation

phycore_imx8mp: Rework some of the RAM related Kconfig symbols

PATCH In review Tom Rini 3 participants 3 messages Mar 15, 2025 – Mar 21, 2025 Arm i.MX and Layerscape

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

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
index bdf9e97beaa6..caf9cb0c3c39 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw

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.

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
index bdf9e97beaa6..caf9cb0c3c39 100644
@@ -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.

board/phytec/phycore_imx8mp/Kconfig +0 -0
@@ -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 · 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
reviewer
#2 lore raw
In reply to Tom Rini
Quoted 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.

---
Cc: Teresa Remmet <[email protected]>

Applied to u-boot-imx/next, thanks.