浏览代码

package/freescale-imx: Forbid DDR selection for i.MX93/91

The DRAM controller on the i.MX93 and i.MX91 does not support DDR3
nor DDR4 memories.

Forbid the selection of DDR3 and DDR4 firmwares on those SoCs.

Fixes: 1ec956130d6f ("package/freescale-imx: Allow firmware installation on i.MX93")
Reported-by: Sebastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Sebastien Szymanski <sebastien.szymanski@armadeus.com>
[Julien: reword the commit log to also mention i.MX91]
Signed-off-by: Julien Olivain <ju.o@free.fr>
Fabio Estevam 5 月之前
父节点
当前提交
4519670c62
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      package/freescale-imx/firmware-imx/Config.in

+ 2 - 0
package/freescale-imx/firmware-imx/Config.in

@@ -77,6 +77,7 @@ config BR2_PACKAGE_FIRMWARE_IMX_LPDDR4
 	help
 	help
 	  Use LPDDR4 binaries (i.e.: lpddr4_pmu_train_*.bin)
 	  Use LPDDR4 binaries (i.e.: lpddr4_pmu_train_*.bin)
 
 
+if !BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW_IMX9
 config BR2_PACKAGE_FIRMWARE_IMX_DDR4
 config BR2_PACKAGE_FIRMWARE_IMX_DDR4
 	bool "DDR4"
 	bool "DDR4"
 	help
 	help
@@ -87,6 +88,7 @@ config BR2_PACKAGE_FIRMWARE_IMX_DDR3
 	help
 	help
 	  Use DDR3 binaries (i.e.: ddr3_*_201810.bin).
 	  Use DDR3 binaries (i.e.: ddr3_*_201810.bin).
 
 
+endif
 endchoice # DDR training FW
 endchoice # DDR training FW
 
 
 config BR2_PACKAGE_FIRMWARE_IMX_DDR_VERSION
 config BR2_PACKAGE_FIRMWARE_IMX_DDR_VERSION