From: Dan Carpenter <dan.carpenter@linaro.org>
To: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Cc: "Tom Rini" <trini@konsulko.com>, "Simon Glass" <sjg@chromium.org>,
"Andrew Davis" <afd@ti.com>,
"Andre Przywara" <andre.przywara@arm.com>,
"Bin Meng" <bmeng@tinylab.org>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Fabio Estevam" <festevam@denx.de>,
"Alper Nebi Yasak" <alpernebiyasak@gmail.com>,
"Yang Xiwen" <forbidden405@outlook.com>,
"Csókás Bence" <csokas.bence@prolan.hu>,
"Peng Fan" <peng.fan@nxp.com>,
u-boot@lists.denx.de
Subject: [PATCH v2 2/2] arm64: Enable CONFIG_64BIT for static analysis
Date: Mon, 4 Mar 2024 10:04:29 +0300 [thread overview]
Message-ID: <6a7328b8-eb22-4ad6-a1d6-eaecd2f8a067@moroto.mountain> (raw)
In-Reply-To: <1cb3255b-5ed7-443b-8a02-6e998126d417@moroto.mountain>
In the Makefile there is a line that says this:
# the checker needs the correct machine size
CHECKFLAGS += $(if $(CONFIG_64BIT),-m64,-m32)
Set CONFIG_64BIT for ARM64 so that we pass -m64 to the static checkers
instead of -m32.
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
v2: split the patch into two patches
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index fde85dc0d537..76d6a8cc6886 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -6,6 +6,7 @@ config SYS_ARCH
config ARM64
bool
+ select 64BIT
select PHYS_64BIT
select SYS_CACHE_SHIFT_6
imply SPL_SEPARATE_BSS
--
2.43.0
next prev parent reply other threads:[~2024-03-04 7:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 7:03 [PATCH v2 0/2] arm64: Enable CONFIG_64BIT for static analysis Dan Carpenter
2024-03-04 7:04 ` [PATCH v2 1/2] Kconfig: move CONFIG_32/64BIT to arch/Kconfig Dan Carpenter
2024-03-04 14:16 ` Tom Rini
2024-03-14 0:38 ` Tom Rini
2024-03-04 7:04 ` Dan Carpenter [this message]
2024-03-04 13:44 ` [PATCH v2 2/2] arm64: Enable CONFIG_64BIT for static analysis Heinrich Schuchardt
2024-03-04 14:11 ` Csókás Bence
2024-03-04 14:16 ` Tom Rini
2024-03-04 14:27 ` Dan Carpenter
2024-03-14 0:38 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6a7328b8-eb22-4ad6-a1d6-eaecd2f8a067@moroto.mountain \
--to=dan.carpenter@linaro.org \
--cc=afd@ti.com \
--cc=alpernebiyasak@gmail.com \
--cc=andre.przywara@arm.com \
--cc=bmeng@tinylab.org \
--cc=csokas.bence@prolan.hu \
--cc=festevam@denx.de \
--cc=forbidden405@outlook.com \
--cc=linus.walleij@linaro.org \
--cc=peng.fan@nxp.com \
--cc=rayagonda.kokatanur@broadcom.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).