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: 841061 Delivered-To: patch@linaro.org Received: by 2002:a5d:6307:0:b0:381:e71e:8f7b with SMTP id i7csp496331wru; Wed, 6 Nov 2024 04:42:34 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUwfQ8NOJchImnPhUGPaHutbB2aaZ7Yh/b1Nj3HtCtjaWjB8MegxM6dAdrEXN4aGRLcCMPqpg==@linaro.org X-Google-Smtp-Source: AGHT+IHBPthzyE3OcROe7jkd8Imhvk5RIttNAu5MoM+J9CBhX2ae8Mj3at+9fuDJWxMdi8VrGOMX X-Received: by 2002:a05:600c:1c9c:b0:42c:a8cb:6a5a with SMTP id 5b1f17b1804b1-43283255a50mr195354855e9.15.1730896954780; Wed, 06 Nov 2024 04:42:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1730896954; cv=none; d=google.com; s=arc-20240605; b=h5BSUOXQXrqpIlLw/3g7RA7jITR2is5AKt1nunGzazQKPJK3Kj0wVEg3TV8PvMC8K8 tqOOKlz1PTt1TrdgPunAe2y/stXIf6lp3LQWD86rXlTAUcpUmabXVFj2smPwuxtVKVJ5 Gk8/Olru4tfby8m/lUP2Z8bPwP5hgbbjtXT0rFUZ87ga8POIYvOfe4Z0jD2bz9xq/tX2 vD8/HicBjrjYv6bUTyVV2JHxnFW7i+9rrtizT5ASrft8yJ2DZ5c7x+VeFuHTn+c1veAz 6qtL1gMygME7SHVFuvHaJJUDr7Mm66U2Lr44emzOo342eW/WQI9UDmzRbfuZsa6nrI3A sEiw== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=MxfjCOJ5WHlA62DVkzoVlYnqLPtXOP743mvuHSV7/HU=; fh=B11qnYfnfZCF8rAs8czUvCdfqzbmHBnrnYTBdc3T/7M=; b=L1SNLhrRETUjdJF2+uu2B+NgXsz1xnnplBmkphD2wo/8IeU0Cx+PLko+1NsDhoWXOb jBOiM9ItPyWd0fUWouY3iXOo4dVNwhAVQegEiC5Bv0SldJ7HZZ60510sJ4CAxfo7rq5D +vlWG3afWmbVaGyInCYO+NRE3K3Yj7CATmkNlh9xHebkNBf+wIMsSuOO0c5V19wwY/Mn metJfSZmwR4fwXYG1+oDT24hxxUNVM+HeiQSa1yNufPg/QTS250luT8lilgmyri70pLv CvscTzOyqjx8XdyamSnRQvD/Ipfy70zNaZpO8HX6gwqbiSBC24c+o5pSM0lhX2zXMUDc DXmw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K8om3Nbc; 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-432aa6b6121si9252725e9.68.2024.11.06.04.42.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2024 04:42:34 -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=K8om3Nbc; 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 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-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(+)