Commit df339c7bdb189aeedfcac2783b5021c623916c6f

Authored by Peng Fan
1 parent c1c4fabdc0

MLK-12845 imx: mx6sabre_common: fix mmcargs

A space should be added after ${smp}. If not,
bootargs is wrong, when CONFIG_SYS_NOSMP defined.

Signed-off-by: Peng Fan <peng.fan@nxp.com>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

include/configs/mx6sabre_common.h
... ... @@ -167,7 +167,7 @@
167 167 "fi\0" \
168 168 EMMC_ENV \
169 169 "smp=" CONFIG_SYS_NOSMP "\0"\
170   - "mmcargs=setenv bootargs console=${console},${baudrate} ${smp}" \
  170 + "mmcargs=setenv bootargs console=${console},${baudrate} ${smp} " \
171 171 "root=${mmcroot}\0" \
172 172 "loadbootscript=" \
173 173 "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
... ... @@ -190,7 +190,7 @@
190 190 "else " \
191 191 "bootz; " \
192 192 "fi;\0" \
193   - "netargs=setenv bootargs console=${console},${baudrate} ${smp}" \
  193 + "netargs=setenv bootargs console=${console},${baudrate} ${smp} " \
194 194 "root=/dev/nfs " \
195 195 "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \
196 196 "netboot=echo Booting from net ...; " \