From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: barebox@lists.infradead.org
Cc: Alexander Shiyan <eagle.alexander923@gmail.com>
Subject: [PATCH] ARM: at91: remove AT32AP7000 (AVR32) remnants
Date: Thu, 19 Jun 2025 16:37:30 +0300 [thread overview]
Message-ID: <20250619133730.2980527-1-eagle.alexander923@gmail.com> (raw)
barebox does not support the AVR32-based AT32AP7000 platform,
so lets delete unused cpu_is_at32ap7000() macro and its comment.
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
drivers/video/atmel_lcdfb_core.c | 3 +--
include/mach/at91/cpu.h | 5 -----
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/video/atmel_lcdfb_core.c b/drivers/video/atmel_lcdfb_core.c
index 002ddb8d16..d7f33bdb4f 100644
--- a/drivers/video/atmel_lcdfb_core.c
+++ b/drivers/video/atmel_lcdfb_core.c
@@ -409,8 +409,7 @@ static int lcdfb_pdata_init(struct device *dev,
!cpu_is_at91sam9g45es();
sinfo->have_intensity_bit = pdata->have_intensity_bit;
sinfo->have_hozval = cpu_is_at91sam9261() ||
- cpu_is_at91sam9g10() ||
- cpu_is_at32ap7000();
+ cpu_is_at91sam9g10();
info = &sinfo->info;
info->modes.modes = pdata->mode_list;
diff --git a/include/mach/at91/cpu.h b/include/mach/at91/cpu.h
index ca85e8be6e..cd72e187d5 100644
--- a/include/mach/at91/cpu.h
+++ b/include/mach/at91/cpu.h
@@ -301,11 +301,6 @@ static inline int at91_soc_is_detected(void)
#define cpu_is_sama5d44() (0)
#endif
-/*
- * Since this is ARM, we will never run on any AVR32 CPU. But these
- * definitions may reduce clutter in common drivers.
- */
-#define cpu_is_at32ap7000() (0)
#endif /* __ASSEMBLY__ */
#endif /* __MACH_CPU_H__ */
--
2.38.2
reply other threads:[~2025-06-19 15:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20250619133730.2980527-1-eagle.alexander923@gmail.com \
--to=eagle.alexander923@gmail.com \
--cc=barebox@lists.infradead.org \
/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