]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Revert "zynqmp: Do not run Linux SMP on more then 2 cpus on QEMU"
authorMichal Simek <michal.simek@xilinx.com>
Fri, 9 Jan 2015 09:55:36 +0000 (10:55 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 9 Jan 2015 10:24:19 +0000 (11:24 +0100)
This reverts commit bfcda714d8724ed21bfee4e6553f4cc6025acbfc.

Let's try to use all cores on Qemu.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c

index efc269128d6cf22ee81e13d05c8fb36c49d8b691..e15195f737b95eb7083f9941e7832c7a2d18d677 100644 (file)
@@ -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");
        }