From f0024862cdc58b71685960f1db7ecb900d881e0c Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Wed, 24 Jul 2019 16:08:49 +0200 Subject: [PATCH] u-boot: ccimx8x: fix comparison of the 'if' clause in the install_fw script This commit fixes two issues: - Comparison clause uses only one equal sign - Fix soc_type for Dual variants because the supported soc types for the imx8 processor are: 8qm, 8qxp, and 8dx Signed-off-by: Arturo Buzarra --- .../u-boot-dey/ccimx8x-sbc-express/install_linux_fw_sd.txt | 2 +- .../u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_sd.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/install_linux_fw_sd.txt b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/install_linux_fw_sd.txt index 08541df59..fa5e7d32f 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/install_linux_fw_sd.txt +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/install_linux_fw_sd.txt @@ -23,7 +23,7 @@ fi ram_freq="1.2GHz" bus_width="32bit" if test -n "${module_ram}" && test -n "${soc_type}"; then - if test "${soc_type}" == "dx"; then + if test "${soc_type}" = "8dx"; then bus_width="16bit" fi setenv INSTALL_UBOOT_FILENAME imx-boot-ccimx8x-sbc-express-${ram_freq}_${module_ram}_${bus_width}.bin; diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_sd.txt b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_sd.txt index 731bd4029..c50c4fa92 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_sd.txt +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_sd.txt @@ -23,7 +23,7 @@ fi ram_freq="1.2GHz" bus_width="32bit" if test -n "${module_ram}" && test -n "${soc_type}"; then - if test "${soc_type}" == "dx"; then + if test "${soc_type}" = "8dx"; then bus_width="16bit" fi setenv INSTALL_UBOOT_FILENAME imx-boot-ccimx8x-sbc-pro-${ram_freq}_${module_ram}_${bus_width}.bin;