mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] arm: socfpga: cyclone5: rename lowlevel.h
@ 2026-05-13 12:18 Michael Tretter
  2026-05-13 14:03 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Tretter @ 2026-05-13 12:18 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX; +Cc: Steffen Trumtrar, Michael Tretter

The lowlevel.h is very specific for the cyclone5 and doesn't even build
for other platforms or boards. Rename the header to make this more
obvious.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 arch/arm/boards/altera-socdk/lowlevel.c                 | 2 +-
 arch/arm/boards/ebv-socrates/lowlevel.c                 | 2 +-
 arch/arm/boards/enclustra-sa2/lowlevel.c                | 2 +-
 arch/arm/boards/terasic-de0-nano-soc/lowlevel.c         | 2 +-
 arch/arm/boards/terasic-de10-nano/lowlevel.c            | 2 +-
 arch/arm/boards/terasic-sockit/lowlevel.c               | 2 +-
 include/mach/socfpga/{lowlevel.h => cylone5-lowlevel.h} | 0
 7 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boards/altera-socdk/lowlevel.c b/arch/arm/boards/altera-socdk/lowlevel.c
index 1e62ab70e7ea..0045cb2d5efc 100644
--- a/arch/arm/boards/altera-socdk/lowlevel.c
+++ b/arch/arm/boards/altera-socdk/lowlevel.c
@@ -9,7 +9,7 @@
 #include "sequencer_auto_ac_init.c"
 #include "iocsr_config_cyclone5.c"
 
-#include <mach/socfpga/lowlevel.h>
+#include <mach/socfpga/cyclone5-lowlevel.h>
 
 SOCFPGA_C5_ENTRY(start_socfpga_socdk, socfpga_cyclone5_socdk, SZ_1G);
 SOCFPGA_C5_XLOAD_ENTRY(start_socfpga_socdk_xload, SZ_1G);
diff --git a/arch/arm/boards/ebv-socrates/lowlevel.c b/arch/arm/boards/ebv-socrates/lowlevel.c
index 56b0f43a3354..ce095a4584ba 100644
--- a/arch/arm/boards/ebv-socrates/lowlevel.c
+++ b/arch/arm/boards/ebv-socrates/lowlevel.c
@@ -9,7 +9,7 @@
 #include "sequencer_auto_ac_init.c"
 #include "iocsr_config_cyclone5.c"
 
-#include <mach/socfpga/lowlevel.h>
+#include <mach/socfpga/cyclone5-lowlevel.h>
 
 static inline void ledon(void)
 {
diff --git a/arch/arm/boards/enclustra-sa2/lowlevel.c b/arch/arm/boards/enclustra-sa2/lowlevel.c
index 08744756949f..27658be61f46 100644
--- a/arch/arm/boards/enclustra-sa2/lowlevel.c
+++ b/arch/arm/boards/enclustra-sa2/lowlevel.c
@@ -9,7 +9,7 @@
 #include "sequencer_auto_ac_init.c"
 #include "iocsr_config_cyclone5.c"
 
-#include <mach/socfpga/lowlevel.h>
+#include <mach/socfpga/cyclone5-lowlevel.h>
 
 SOCFPGA_C5_ENTRY(start_socfpga_sa2, socfpga_cyclone5_mercury_sa2, SZ_1G);
 SOCFPGA_C5_XLOAD_ENTRY(start_socfpga_sa2_xload, SZ_1G);
diff --git a/arch/arm/boards/terasic-de0-nano-soc/lowlevel.c b/arch/arm/boards/terasic-de0-nano-soc/lowlevel.c
index 71121b6d4cea..1bc521ce9b43 100644
--- a/arch/arm/boards/terasic-de0-nano-soc/lowlevel.c
+++ b/arch/arm/boards/terasic-de0-nano-soc/lowlevel.c
@@ -9,7 +9,7 @@
 #include "sequencer_auto_ac_init.c"
 #include "iocsr_config_cyclone5.c"
 
-#include <mach/socfpga/lowlevel.h>
+#include <mach/socfpga/cyclone5-lowlevel.h>
 
 SOCFPGA_C5_ENTRY(start_socfpga_de0_nano_soc, socfpga_cyclone5_de0_nano_soc, SZ_1G);
 SOCFPGA_C5_XLOAD_ENTRY(start_socfpga_de0_nano_soc_xload, SZ_1G);
diff --git a/arch/arm/boards/terasic-de10-nano/lowlevel.c b/arch/arm/boards/terasic-de10-nano/lowlevel.c
index 74c8aec99da0..ddff6bdee264 100644
--- a/arch/arm/boards/terasic-de10-nano/lowlevel.c
+++ b/arch/arm/boards/terasic-de10-nano/lowlevel.c
@@ -9,7 +9,7 @@
 #include "sequencer_auto_ac_init.c"
 #include "iocsr_config_cyclone5.c"
 
-#include <mach/socfpga/lowlevel.h>
+#include <mach/socfpga/cyclone5-lowlevel.h>
 
 SOCFPGA_C5_ENTRY(start_socfpga_de10_nano, socfpga_cyclone5_de10_nano, SZ_1G);
 SOCFPGA_C5_XLOAD_ENTRY(start_socfpga_de10_nano_xload, SZ_1G);
diff --git a/arch/arm/boards/terasic-sockit/lowlevel.c b/arch/arm/boards/terasic-sockit/lowlevel.c
index 9ce0fd442331..dd951c3016eb 100644
--- a/arch/arm/boards/terasic-sockit/lowlevel.c
+++ b/arch/arm/boards/terasic-sockit/lowlevel.c
@@ -9,7 +9,7 @@
 #include "sequencer_auto_ac_init.c"
 #include "iocsr_config_cyclone5.c"
 
-#include <mach/socfpga/lowlevel.h>
+#include <mach/socfpga/cyclone5-lowlevel.h>
 
 static inline void ledon(int led)
 {
diff --git a/include/mach/socfpga/lowlevel.h b/include/mach/socfpga/cylone5-lowlevel.h
similarity index 100%
rename from include/mach/socfpga/lowlevel.h
rename to include/mach/socfpga/cylone5-lowlevel.h

---
base-commit: 2cb5e0014a37160731ad6eb6d7f7d846394db362
change-id: 20260513-socfpga-cyclone5-lowlevel-c8626122e1e9

Best regards,
-- 
Michael Tretter <m.tretter@pengutronix.de>




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

* Re: [PATCH] arm: socfpga: cyclone5: rename lowlevel.h
  2026-05-13 12:18 [PATCH] arm: socfpga: cyclone5: rename lowlevel.h Michael Tretter
@ 2026-05-13 14:03 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2026-05-13 14:03 UTC (permalink / raw)
  To: BAREBOX, Michael Tretter; +Cc: Steffen Trumtrar


On Wed, 13 May 2026 14:18:46 +0200, Michael Tretter wrote:
> The lowlevel.h is very specific for the cyclone5 and doesn't even build
> for other platforms or boards. Rename the header to make this more
> obvious.
> 
> 

Applied, thanks!

[1/1] arm: socfpga: cyclone5: rename lowlevel.h
      https://git.pengutronix.de/cgit/barebox/commit/?id=1037139d3c5e (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




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

end of thread, other threads:[~2026-05-13 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-13 12:18 [PATCH] arm: socfpga: cyclone5: rename lowlevel.h Michael Tretter
2026-05-13 14:03 ` Sascha Hauer

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