From patchwork Wed Nov 6 12:42:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Goodbody X-Patchwork-Id: 2007505 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=K8om3Nbc; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Xk4bz21qXz1xyM for ; Wed, 6 Nov 2024 23:42:39 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A05A8891B2; Wed, 6 Nov 2024 13:42:33 +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="K8om3Nbc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D502B8902D; Wed, 6 Nov 2024 13:42:32 +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-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (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 DA283891CE for ; Wed, 6 Nov 2024 13:42:30 +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-x32e.google.com with SMTP id 5b1f17b1804b1-43162cf1eaaso78019545e9.0 for ; Wed, 06 Nov 2024 04:42:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730896950; x=1731501750; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MxfjCOJ5WHlA62DVkzoVlYnqLPtXOP743mvuHSV7/HU=; b=K8om3Nbc9131pLpTjxZJjjG/RMq7SE72ezubmTNrekhWJ1uMTuMOlCQ/ub0/mE/QfT 3OmXRBQJbwvO7WY2cotXHA1TvWwmiRZ3L4iKPH5QNlAha4Cn+mbFdJO4Vm+EtF2cGbk2 7mvUtb557ZpPFSfNLimgFB+F1DMqHJyDsY1dvMXpTbRAgGzpDxSrxVXeXbNjeaQ2vQhd ZUdbjRxqdrsFzI9pSfMvzI87dvgxxMlZBOTGCS6ZX968ARGhhjWmSp3DkFTeIWZD/HC8 4CLYORdnsaWb7NKc5qfpN/95CSX2Ya5xXkGcLIBcEwIOrSDCOzH0fxxQyZ4VotZ1JN7X ftMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730896950; x=1731501750; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MxfjCOJ5WHlA62DVkzoVlYnqLPtXOP743mvuHSV7/HU=; b=eDAPEsEGRbXshbnZ2jHqCJarumm7gppADOlS/9y9b548gHctxx+zcRaLgIQ6IGQJV7 yEjwQ3rvdWW2FK7nTMgEAiedFGzApN9FOJv2cTwgLja1EnN8BBFILevyw2LuVpmBFX85 hROG8spM93m7yovZeTnUcH3+zz/eqo4T602DdBgbmq87AzbZFTkdn/dsA1oS5YlMZKpA SddPadCqzhv7iGsJ4+nx2Df7Z22rwaqprMwuUMJBcAe4nrwt5aDuyySNKbM2BrDaQPP+ zwFuOKyqbjAI8Lp/c2qH0ljFtCzWbApYGnMFNgStx7eG6IGIRQ0atVOJ8iwSbG+Plsw3 iC3A== X-Gm-Message-State: AOJu0Yx0PxQVBJBzYp1Bbx1WcIvmdG8CfnPaKL5T+wM68mrhq+Ppj9Wu 3XSiQOjFbCa4u+VGsShGDGSQuyQBLTwkt107gJre+hdbK0BG8mK2JUwAKL+MWEyyro73l0acsQ5 EyaqiV96y X-Google-Smtp-Source: AGHT+IF4kF3sDS37/iUFLOL0DUxqHIZkRHAkstNv60jB6dXDK38vvBoINIqLnTWtcWBpHdDXC3hi5w== X-Received: by 2002:a5d:6dab:0:b0:37e:d2b8:883a with SMTP id ffacd0b85a97d-381c7a464c6mr20795164f8f.12.1730896950330; Wed, 06 Nov 2024 04:42:30 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2024 04:42:29 -0800 (PST) From: Andrew Goodbody To: u-boot@lists.denx.de Cc: Andrew Goodbody , Bin Meng , Dan Carpenter , Heinrich Schuchardt , Simon Glass , Tom Rini Subject: [PATCH v2 0/2] Select CONFIG_64BIT for sandbox64 and x86_64 Date: Wed, 6 Nov 2024 12:42:13 +0000 Message-Id: <20241106124215.677519-1-andrew.goodbody@linaro.org> X-Mailer: git-send-email 2.39.5 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 Picking up a series from Dan Carpenter and applying requested changes for v2. I had previously set CONFIG_64BIT for arm64. This patchset does the same thing for sandbox64 and x86_64. (Mips and riscv were already doing it). This CONFIG option is used in the Makefile to determine if it's a 32 or 64 bit system for the CHECKER. Makefile 1052 # the checker needs the correct machine size 1053 CHECKFLAGS += $(if $(CONFIG_64BIT),-m64,-m32) Changes in v2: Resubmitted by Andrew Goodbody with changes requested by reviewer Andrew Goodbody (2): sandbox: select CONFIG_64BIT for SANDBOX64 x86: select CONFIG_64BIT for X86_64 arch/sandbox/Kconfig | 1 + arch/x86/Kconfig | 1 + 2 files changed, 2 insertions(+)