From: Michal Simek Date: Fri, 9 Jan 2015 09:55:36 +0000 (+0100) Subject: Revert "zynqmp: Do not run Linux SMP on more then 2 cpus on QEMU" X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3fdce29f439b05d1cd8681d119ac7f3db65c0f9f;p=thirdparty%2Fu-boot.git Revert "zynqmp: Do not run Linux SMP on more then 2 cpus on QEMU" This reverts commit bfcda714d8724ed21bfee4e6553f4cc6025acbfc. Let's try to use all cores on Qemu. Signed-off-by: Michal Simek --- diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index efc269128d6..e15195f737b 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -97,14 +97,9 @@ int board_mmc_init(bd_t *bd) } #endif -#ifndef CONFIG_LINUX_CMDLINE_SIZE -# define CONFIG_LINUX_CMDLINE_SIZE 120 -#endif - int board_late_init(void) { u32 reg = 0; - char args[CONFIG_LINUX_CMDLINE_SIZE]; u8 bootmode; u32 ver = zynqmp_get_silicon_version(); @@ -118,10 +113,6 @@ int board_late_init(void) break; case ZYNQMP_CSU_VERSION_QEMU: default: - strcpy(args, getenv("bootargs")); - strncat(args, " maxcpus=2", CONFIG_LINUX_CMDLINE_SIZE); - setenv("bootargs", args); - setenv("serverip", "10.0.2.2"); setenv("ipaddr", "10.0.2.15"); }