From patchwork Wed Nov 6 12:42:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Goodbody X-Patchwork-Id: 841063 Delivered-To: patch@linaro.org Received: by 2002:a5d:6307:0:b0:381:e71e:8f7b with SMTP id i7csp496455wru; Wed, 6 Nov 2024 04:42:51 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWgYHToOO3xwam5MiuegXXmx+0Iqlo5rS64hHmtY6cLexDZY4WfJVaF1LEhHFSCHwoncSI5Rw==@linaro.org X-Google-Smtp-Source: AGHT+IHAghUl9nXLtRBcvYTrBaJWs5LuIfaByq6102ONT6d8ZqZlh4kW4sh/GSc9cS9/2eZNLomA X-Received: by 2002:a05:6512:350e:b0:53b:1526:3a48 with SMTP id 2adb3069b0e04-53b348f98c0mr14398954e87.14.1730896971537; Wed, 06 Nov 2024 04:42:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1730896971; cv=none; d=google.com; s=arc-20240605; b=SbHAIP/eiy6ENw6eBH+7cGhkP5IX6haQ0zbI+waHMAG4jVT1wB7CeXpGniFL3H//8d Qzd6gnRnfCflYiwzx2OKuwih3iCjP/c70BzreQgT5Ppmd2YJhEpM/dotMGegBUGN/hQO IwpqQdZrcrcOggIVIzfPGB8D7dUkQ382zpTINbMfa4gcbqrbmj2Xb6FfROOW9xzWOL1A xdNQXaKR3YVHOq6cHir3H4IuNAGI4aat4rQ9M2xd2bI6urT4sNZmMnZCxGLfi7R/3D26 bOtPY9GJV8UfvnOvzEVJXX8MfhvZ8u8ZN5Vdezkgymv14J0I0Ig1YTUNp822aSqPpwpL KXUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rjQfUSJoYyLqj045F3eAXylgLf/QJALJlWx8BKfNqAs=; fh=ZSk1dbVwigr2zKGLsvwCTmgbzUCPPPGiRvplsFkZpaM=; b=NrKqWNkqA0iaijN+7eZptCsIzoC0CR5fcFnrFJA8I+S+r1WNgT8rtC3Y8S4Z/l6KYm zwzhtiVKvbkJAV0SCLwDEFHNW+gstcnvjGqClbRYsoWqEW6d9F6WLROoAtU+M+bFW2Bt sQ7LmVKJwVquuyOYiCHNMbSQAD/7KFLQ8vKUu/cIPsPxFOD57V9UsnfzOizsu02Mxbjw G5ABtaX7nszzNRntLOTz2rxuErzjT1f9kY5zrio2NsX+TQ8teKb7ALCuotjlmoZGok2q tPBLA6MCH0jaF7tzJO7Qc/MITBqTW4Ouy+QtgLXivHLbnE6QnoC07gePZF0vHjvpwGls ZVQw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lK+Eu8Fo; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 5b1f17b1804b1-432aa6c798bsi9304685e9.123.2024.11.06.04.42.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2024 04:42:51 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lK+Eu8Fo; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 38BD5891D1; Wed, 6 Nov 2024 13:42:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="lK+Eu8Fo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 589F5891D1; Wed, 6 Nov 2024 13:42:41 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 58F8A8902D for ; Wed, 6 Nov 2024 13:42:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andrew.goodbody@linaro.org Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4316e9f4a40so54060965e9.2 for ; Wed, 06 Nov 2024 04:42:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730896959; x=1731501759; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rjQfUSJoYyLqj045F3eAXylgLf/QJALJlWx8BKfNqAs=; b=lK+Eu8FotHlluZTNN1X+tVZQTkqZdB8WCPW6vGTOZ6OZGKhCaO6Ecqoz5hZPIoyKIV 5AiKiBkpoqQxf+GNyW776HjhSW8+i5ibHN2DIsSxGI2RKZr7KuUtPvQkLWZiWpLA7RqK 0N8eL9P+bsOKG5ZvjqeQBGC4pXEERZ9NGfAEWWfHBOE1Eye0bmAtFSNb8dfbj6vJQsjP npdBlJDEg44AiPfVSjxxR8IeHnHMZW//UrGgOetjKXDy9bU/NlAcglUMvI16xvfZWTD1 nlti934UvfYz8Ttx517tNEQy0vr6tD+tWcYYhTCcMCJTBpvfnA5M4KClSKvklDlHSNP/ wVuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730896959; x=1731501759; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rjQfUSJoYyLqj045F3eAXylgLf/QJALJlWx8BKfNqAs=; b=MAYJALGuE0AVjr+S57n6F8taq66lf5OxKK5vtyG0/d22LCvcnpiOjzqJsExQWW20aA 23ke7ZK/trQ9sXafmUNT0+1IVKkbN/XgmVHOXFr6gfpjczkXikJbD0HW/7w19ZqL0x65 RgDD3B6e9iXYDn5DcyPoX9FG/TwGHzij83OpX55XsVis1uCklS17XmkQWdYawFnkDpmT CDExU8AyXR74RXV3/8yMhRJwutsTPc2wh3olJXPyauvYbWidysmhcsM5YMH2Puf8Fpbf 5j4Uqg5dtjuewL/2Qr9zpd0759VpbIJb8H0VX1rLe+s7fEKw+6pUgtiApjRThEJJOxhr 2j+A== X-Gm-Message-State: AOJu0YwW5g7gwTLt0LaV0ukRP8JdLy8SvP6XRJK81fmhQdntgQ1xOf9p uFywx0aZFES+pCqW7IK/+zyYtM8kNwpKwkAdg0GbaOlAMofBm+U5XtmCfOZWhPdMxUu/pG6XSK0 lTn/+6an+ X-Received: by 2002:a05:600c:3c8c:b0:431:4fa0:2e0b with SMTP id 5b1f17b1804b1-4319ad146b1mr325834715e9.28.1730896958627; Wed, 06 Nov 2024 04:42:38 -0800 (PST) Received: from artemis2.elfringham.co.uk ([89.101.241.141]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381c116c13asm18884765f8f.109.2024.11.06.04.42.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2024 04:42:38 -0800 (PST) From: Andrew Goodbody To: u-boot@lists.denx.de Cc: Andrew Goodbody , Dan Carpenter , Bin Meng , Simon Glass , Tom Rini Subject: [PATCH v2 2/2] x86: select CONFIG_64BIT for X86_64 Date: Wed, 6 Nov 2024 12:42:15 +0000 Message-Id: <20241106124215.677519-3-andrew.goodbody@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241106124215.677519-1-andrew.goodbody@linaro.org> References: <20241106124215.677519-1-andrew.goodbody@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Select CONFIG_64BIT so that we pass the -m64 option (instead of -m32) to static analysis tools. Signed-off-by: Dan Carpenter Signed-off-by: Andrew Goodbody --- Changes in v2: Corrected commit title to be x86 not sandbox arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 23a1e21b29..006a59d6fa 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -44,6 +44,7 @@ endchoice config X86_64 bool + select 64BIT config SPL_X86_64 bool