From patchwork Tue Jun 9 07:45:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 482134 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id C48E614033F for ; Tue, 9 Jun 2015 17:46:55 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=FzYJelvb; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D41084B76A; Tue, 9 Jun 2015 09:46:40 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HRbiZmWueptP; Tue, 9 Jun 2015 09:46:40 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2E5F94B758; Tue, 9 Jun 2015 09:46:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7A93E4B718 for ; Tue, 9 Jun 2015 09:46:26 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VpzGR7g_KsT4 for ; Tue, 9 Jun 2015 09:46:26 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-qc0-f196.google.com (mail-qc0-f196.google.com [209.85.216.196]) by theia.denx.de (Postfix) with ESMTPS id 15E0D4B6F3 for ; Tue, 9 Jun 2015 09:46:18 +0200 (CEST) Received: by qcvp6 with SMTP id p6so1036176qcv.2 for ; Tue, 09 Jun 2015 00:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:in-reply-to:references:mime-version :content-type; bh=76H3b2JR5V8x9Ab8sBNKvAmxA4HalpSVAAYEaerOyFs=; b=FzYJelvbd7ZAF/bXDU7sT7wXVj32mVfTN02cC+CuqrVdKBL2pfUv4Kou4Ezf8/Lquz d9ccIrSBRe5QWRZ+SpoZk55NUmmfdoftizvpsqFXw2d5l22F7hKcqWW81dyb+jqkBEla +6tc+6bMc2VMW/Gz2JwL/oWTRHtfEh+q0l/RPVaRstfW3pMV7kts897W73VuqWLexzv7 qCT9PQVx6zn1z87TV7S2h6Zj+lzzjPuEO4z+uG3ZKQ/JmqCr5dk9blASFDXUn3oRyvHl PWt2tdACfMYCoenz8Xnu0L4rCl1zcTXPuyDeXrWQZxAGWJm+snvYvlrIsKxB+Q4wNSyQ NONQ== X-Received: by 10.140.21.134 with SMTP id 6mr24026915qgl.47.1433835977451; Tue, 09 Jun 2015 00:46:17 -0700 (PDT) Received: from mail.hotmail.com (blu004-wss1s3.hotmail.com. [134.170.2.218]) by mx.google.com with ESMTPSA id h49sm2352165qgd.24.2015.06.09.00.46.16 (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Jun 2015 00:46:16 -0700 (PDT) Received: from BLU437-SMTP3 ([134.170.2.215]) by BLU004-WSS1S3.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 9 Jun 2015 00:46:16 -0700 X-TMN: [UiMLMFAIm1MBru6wFWPTOIkAqXYdip1C] Message-ID: From: Bin Meng To: Simon Glass , U-Boot Mailing List Date: Tue, 9 Jun 2015 15:45:47 +0800 X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1433835951-6819-1-git-send-email-bmeng.cn@gmail.com> References: <1433835951-6819-1-git-send-email-bmeng.cn@gmail.com> X-OriginalArrivalTime: 09 Jun 2015 07:46:15.0447 (UTC) FILETIME=[5D123270:01D0A288] MIME-Version: 1.0 Subject: [U-Boot] [PATCH 5/9] x86: kconfig: Make MAX_CPUS and AP_STACK_SIZE depend on SMP X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" MAX_CPUS and AP_STACK_SIZE are only meaningful when SMP is on. Signed-off-by: Bin Meng Acked-by: Simon Glass --- arch/x86/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 3506ba2..d4cd9ed 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -228,6 +228,7 @@ config FSP_TEMP_RAM_ADDR config MAX_CPUS int "Maximum number of CPUs permitted" + depends on SMP default 4 help When using multi-CPU chips it is possible for U-Boot to start up @@ -249,6 +250,7 @@ config SMP config AP_STACK_SIZE hex + depends on SMP default 0x1000 help Each additional CPU started by U-Boot requires its own stack. This