mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: at91: remove AT32AP7000 (AVR32) remnants
@ 2025-06-19 13:37 Alexander Shiyan
  2025-06-20 11:48 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2025-06-19 13:37 UTC (permalink / raw)
  To: barebox; +Cc: Alexander Shiyan

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-20 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-19 13:37 [PATCH] ARM: at91: remove AT32AP7000 (AVR32) remnants Alexander Shiyan
2025-06-20 11:48 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox