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 <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2019-07-24 16:08:49 +02:00
parent 03d40edfd0
commit f0024862cd
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ fi
ram_freq="1.2GHz" ram_freq="1.2GHz"
bus_width="32bit" bus_width="32bit"
if test -n "${module_ram}" && test -n "${soc_type}"; then 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" bus_width="16bit"
fi fi
setenv INSTALL_UBOOT_FILENAME imx-boot-ccimx8x-sbc-express-${ram_freq}_${module_ram}_${bus_width}.bin; setenv INSTALL_UBOOT_FILENAME imx-boot-ccimx8x-sbc-express-${ram_freq}_${module_ram}_${bus_width}.bin;

View File

@ -23,7 +23,7 @@ fi
ram_freq="1.2GHz" ram_freq="1.2GHz"
bus_width="32bit" bus_width="32bit"
if test -n "${module_ram}" && test -n "${soc_type}"; then 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" bus_width="16bit"
fi fi
setenv INSTALL_UBOOT_FILENAME imx-boot-ccimx8x-sbc-pro-${ram_freq}_${module_ram}_${bus_width}.bin; setenv INSTALL_UBOOT_FILENAME imx-boot-ccimx8x-sbc-pro-${ram_freq}_${module_ram}_${bus_width}.bin;