From patchwork Mon Nov 25 11:55:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Goodbody X-Patchwork-Id: 845311 Delivered-To: patch@linaro.org Received: by 2002:a5d:688e:0:b0:382:43a8:7b94 with SMTP id h14csp1127937wru; Mon, 25 Nov 2024 03:56:50 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXYi04bEDVckCTNzKxQdwgw7dAxOBRDPzlcwuQUAJy6YmohIA/q1QgsIFpaNNYMHGpjmeXkTw==@linaro.org X-Google-Smtp-Source: AGHT+IEyL+hyKJ6A4LGBorz6TNdyJWT+eaB8l43Jtz/yOdxMpJxQUeCmickLAgXbO4tGINm826Ff X-Received: by 2002:a17:906:9c2:b0:aa5:1cdf:7c02 with SMTP id a640c23a62f3a-aa51cdf8321mr883132766b.3.1732535809895; Mon, 25 Nov 2024 03:56:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732535809; cv=none; d=google.com; s=arc-20240605; b=YdtHpIIjd8vbry/jfN+C5MnpsX3nGZ1lYZZdebvVOlgTUSPqI4aHIrSC/WCa3QYlWg Jdp9MEllyB/OpGtYEKhqwv2LBQJjWyRmerg1Px9VJS4gvf5f7+RYJzqDXHx2NZcpgARC qZx6ZzsShBzuFO07Y2rkSg7T79tbYTrnwXs0gTrOmffCCGYCH71hTlPO6VhcyscVEboo yqYM3AM1CfhjDCx6d2Jo8VMgBFUrYoMm5T+mhQPaqiiQMUFH47bNcvAnKjqpEBhjeVxH P0fvLXEX1jBxHOGy7i8HYyHrtqkrZEuc6j0GYTqAg07ooXBemMF/S8QpxQa/6nwlcS8H 0bmg== 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=IhTO/VY1wYc48kwVBTm9OsmBMyznhQOTSFPbuSfWmFs=; fh=gGdCIiY3oAFCHNdzkXt+0pz/LHe6XqVdYUr36BD2sDo=; b=Td72tW8ZHmf0mqZgRPLww1iG4PSp4Brw0b12jGoyJo2p5M2tU+I1B75EhbyjJtUgJg e0u8EhCFbTT+35i/DV6LUjyU4ozkLtjRUDADlaRhv1tpwQgJjTe6xrJHtZ47H55EKS0m /RAjelUrcM7XL0n4IxueBxZUiGaleQNHGl6u/wOlqcyKolUC81IWMj2c2DxPRaZaO7uY 5bBPVO/NEQV3xbucWpLicseg0kxewZ6iUkLSBkT9k8GLslL93Sp8qXrQsVV6hUz4YCnz U5vx9j19f0QExQvEvVBdK4K/5gO2UHZM/PV7OHY3Evl2s8EuoYDrcG3SKRmwZXc1y8mp riFA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PyBKWuLe; 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 a640c23a62f3a-aa54a38ba2asi163189266b.467.2024.11.25.03.56.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2024 03:56:49 -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=PyBKWuLe; 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 AAE1189A3D; Mon, 25 Nov 2024 12:56:47 +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="PyBKWuLe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1569589A3D; Mon, 25 Nov 2024 12:56:46 +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-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (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 1D55389A31 for ; Mon, 25 Nov 2024 12:56:44 +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-wr1-x431.google.com with SMTP id ffacd0b85a97d-3824a8a5c56so2901984f8f.3 for ; Mon, 25 Nov 2024 03:56:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732535803; x=1733140603; 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=IhTO/VY1wYc48kwVBTm9OsmBMyznhQOTSFPbuSfWmFs=; b=PyBKWuLeKlcaFQg4tLYOqhK2EJAwitsl5KCx14YRYIncMwO2c9+vrrcSsh34bzak2m Rw6Kib2GEfD9y1n1ka3IGzG7tGfDg/3RF1Wx8UBUhQHKFbxBzlJUqLz7+IGHnFtNGTMx InuAolfrHGMa15FsLdFOkQNJYOyB+asL5DesuVzG+t5S+fvk3rdUXqGb/9Dd5ZbckFYe jWrE+4r18ySIl72dZ+o/jy6lbpt0GvChBxFcvXVBjzfgKX+cGXXizUNm5VOURtyl0fFf BmyT/Jp/7XF8+AyTZN6FusNFoN7u16gkGacCnxNLRxXwr+J9XZtNfH/9HbJF5Z0nqpQK lkQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732535803; x=1733140603; 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=IhTO/VY1wYc48kwVBTm9OsmBMyznhQOTSFPbuSfWmFs=; b=OX1IatCx99Toi3dJ5PFTPGi5BkN006g4NJldd1pYrJ4Ua+n6Lw2/4aZMmVo+3/X4Df kW36kl7YK4A0haeimQ1XwEbAO9uHL9C0MWiZJiLKEJqHp7fPsoZpvsszoCTU50mQ5c/0 8GHXd6sHmJawU2WFxTeytiC21FqAtUW3xpe98UA1wX3RWvtsDUYhfQrhgnwt8nNrom0m vWVCKK699E7VxEcrubl8RoKEWEl6ViMZJjbPwHek5dn3BDxSTdVh5Q97t7azYLb1kWXf It/CPVg2Hh7M9XqM4KOWF89xcyLKNe7HTQfvmtxKll7jr10kWuO7k5gQrwVlNy29xdSl H/sw== X-Gm-Message-State: AOJu0Yysd1Npely2Pudg3DMD02T+7CUxJFA+KS0uFCCfYU/B1MbAOGf2 ZjpqooAJKFIbuuWETzEizC1PtPUUvSndZqFm+53F6GVMZ72915wAA6oc4e1enckqDeWoLbyzfNr JJ7IbRw== X-Gm-Gg: ASbGnct9qkFiHWM2J07/YI/cXp2ycCF5yj89+wwFmJzHO8ex1UmwDMU40tJKkLX0WZR U6SK8k0YEwXraizEKLqsNnCXkJ28zrXyWtz1Z3PpUym42BoJPH0ekjd/cNmyHCzmJdr4gNY79yp pq5x3U97FisENUi1xMEYCDH/rJvBES+6xBn8klSs4Cvapdmz/PJlwm0kbjJiY1OiPnBl1O68+JA MoRPsdlHmeHEC0lNXawB5L0yY1puM7guOe/OzfBotR12IEQbsuM/bqRp+9FN1g4g3tJuw== X-Received: by 2002:a05:6000:797:b0:382:5066:326f with SMTP id ffacd0b85a97d-38260b5b0bcmr9995841f8f.17.1732535803638; Mon, 25 Nov 2024 03:56:43 -0800 (PST) Received: from artemis2.broadband ([2a0a:ef40:edb:fc01:7b40:ce24:60a6:e419]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fb271ffsm10139626f8f.53.2024.11.25.03.56.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2024 03:56:43 -0800 (PST) From: Andrew Goodbody To: u-boot@lists.denx.de Cc: Andrew Goodbody , Dan Carpenter , Heinrich Schuchardt , Simon Glass , Tom Rini Subject: [PATCH v4 2/4] sandbox: select CONFIG_64BIT for sandbox Date: Mon, 25 Nov 2024 11:55:52 +0000 Message-Id: <20241125115554.1707080-3-andrew.goodbody@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241125115554.1707080-1-andrew.goodbody@linaro.org> References: <20241125115554.1707080-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 Reviewed-by: Simon Glass --- (no changes since v3) Changes in v3: Updated commit title Changes in v2: Moved select of CONFIG_64BIT from SANDBOX64 to HOST_64BIT as suggested by reviewer. arch/sandbox/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig index 1c8353d615..db29ca14bd 100644 --- a/arch/sandbox/Kconfig +++ b/arch/sandbox/Kconfig @@ -46,6 +46,7 @@ config HOST_32BIT config HOST_64BIT def_bool $(cc-define,_LP64) + select 64BIT config HOST_HAS_SDL def_bool $(success,sdl2-config --version)