diff options
author | Ye Li <ye.li@nxp.com> | 2017-02-27 16:45:26 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 14:04:39 +0800 |
commit | 0fb60b83d3f85ffd6bcbaf048db2a271364dbfda (patch) | |
tree | 08c7311c31ac99753aa7358fbbe068c9c4e7908d /include/configs/mx6sabre_common.h | |
parent | e974006f6ad9f40cb380f0790028ee161ed7c0b4 (diff) | |
download | u-boot-imx-0fb60b83d3f85ffd6bcbaf048db2a271364dbfda.zip u-boot-imx-0fb60b83d3f85ffd6bcbaf048db2a271364dbfda.tar.gz u-boot-imx-0fb60b83d3f85ffd6bcbaf048db2a271364dbfda.tar.bz2 |
MLK-14261-2 mx6solo: Add nosmp kernel bootargs
For i.MX6 SOLO sabreauto and sabresd boards, add the "nosmp" kernel
bootargs.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'include/configs/mx6sabre_common.h')
-rw-r--r-- | include/configs/mx6sabre_common.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h index 1e00eef..dc0ff6b 100644 --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -39,6 +39,12 @@ #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0 #endif +#ifdef CONFIG_MX6S +#define SYS_NOSMP "nosmp" +#else +#define SYS_NOSMP +#endif + /* Command definition */ #define CONFIG_CMD_BMODE @@ -119,7 +125,8 @@ "fi; " \ "fi\0" \ EMMC_ENV \ - "mmcargs=setenv bootargs console=${console},${baudrate} " \ + "smp=" SYS_NOSMP "\0"\ + "mmcargs=setenv bootargs console=${console},${baudrate} ${smp} " \ "root=${mmcroot}\0" \ "loadbootscript=" \ "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ @@ -142,7 +149,7 @@ "else " \ "bootz; " \ "fi;\0" \ - "netargs=setenv bootargs console=${console},${baudrate} " \ + "netargs=setenv bootargs console=${console},${baudrate} ${smp} " \ "root=/dev/nfs " \ "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \ "netboot=echo Booting from net ...; " \ |