* [U-Boot] [PATCH] arm: socfpga: Move generated files into qts subdir
@ 2015-07-27 20:47 Marek Vasut
2015-08-03 15:57 ` Marek Vasut
0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2015-07-27 20:47 UTC (permalink / raw)
To: u-boot
Move all the files generated by Quartus into the qts/ subdir of the
board/altera/socfpga dir to make them explicitly separate from the
generic U-Boot code.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
---
board/altera/socfpga/Makefile | 2 +-
board/altera/socfpga/qts/Makefile | 7 +++++++
board/altera/socfpga/{ => qts}/iocsr_config.c | 0
board/altera/socfpga/{ => qts}/iocsr_config.h | 0
board/altera/socfpga/{ => qts}/pinmux_config.c | 0
board/altera/socfpga/{ => qts}/pinmux_config.h | 0
board/altera/socfpga/{ => qts}/pll_config.h | 0
include/configs/socfpga_arria5.h | 6 +++---
include/configs/socfpga_cyclone5.h | 6 +++---
9 files changed, 14 insertions(+), 7 deletions(-)
create mode 100644 board/altera/socfpga/qts/Makefile
rename board/altera/socfpga/{ => qts}/iocsr_config.c (100%)
rename board/altera/socfpga/{ => qts}/iocsr_config.h (100%)
rename board/altera/socfpga/{ => qts}/pinmux_config.c (100%)
rename board/altera/socfpga/{ => qts}/pinmux_config.h (100%)
rename board/altera/socfpga/{ => qts}/pll_config.h (100%)
diff --git a/board/altera/socfpga/Makefile b/board/altera/socfpga/Makefile
index c867f73..d960394 100644
--- a/board/altera/socfpga/Makefile
+++ b/board/altera/socfpga/Makefile
@@ -7,4 +7,4 @@
#
obj-y := socfpga.o
-obj-$(CONFIG_SPL_BUILD) += pinmux_config.o iocsr_config.o
+obj-$(CONFIG_SPL_BUILD) += qts/
diff --git a/board/altera/socfpga/qts/Makefile b/board/altera/socfpga/qts/Makefile
new file mode 100644
index 0000000..dbcedd8
--- /dev/null
+++ b/board/altera/socfpga/qts/Makefile
@@ -0,0 +1,7 @@
+#
+# (C) Copyright 2015 Marek Vasut <marex@denx.de>
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+obj-y += pinmux_config.o iocsr_config.o
diff --git a/board/altera/socfpga/iocsr_config.c b/board/altera/socfpga/qts/iocsr_config.c
similarity index 100%
rename from board/altera/socfpga/iocsr_config.c
rename to board/altera/socfpga/qts/iocsr_config.c
diff --git a/board/altera/socfpga/iocsr_config.h b/board/altera/socfpga/qts/iocsr_config.h
similarity index 100%
rename from board/altera/socfpga/iocsr_config.h
rename to board/altera/socfpga/qts/iocsr_config.h
diff --git a/board/altera/socfpga/pinmux_config.c b/board/altera/socfpga/qts/pinmux_config.c
similarity index 100%
rename from board/altera/socfpga/pinmux_config.c
rename to board/altera/socfpga/qts/pinmux_config.c
diff --git a/board/altera/socfpga/pinmux_config.h b/board/altera/socfpga/qts/pinmux_config.h
similarity index 100%
rename from board/altera/socfpga/pinmux_config.h
rename to board/altera/socfpga/qts/pinmux_config.h
diff --git a/board/altera/socfpga/pll_config.h b/board/altera/socfpga/qts/pll_config.h
similarity index 100%
rename from board/altera/socfpga/pll_config.h
rename to board/altera/socfpga/qts/pll_config.h
diff --git a/include/configs/socfpga_arria5.h b/include/configs/socfpga_arria5.h
index 5a4417f..48744bc 100644
--- a/include/configs/socfpga_arria5.h
+++ b/include/configs/socfpga_arria5.h
@@ -7,9 +7,9 @@
#define __CONFIG_SOCFPGA_ARRIA5_H__
#include <asm/arch/socfpga_base_addrs.h>
-#include "../../board/altera/socfpga/pinmux_config.h"
-#include "../../board/altera/socfpga/iocsr_config.h"
-#include "../../board/altera/socfpga/pll_config.h"
+#include "../../board/altera/socfpga/qts/pinmux_config.h"
+#include "../../board/altera/socfpga/qts/iocsr_config.h"
+#include "../../board/altera/socfpga/qts/pll_config.h"
/* U-Boot Commands */
#define CONFIG_SYS_NO_FLASH
diff --git a/include/configs/socfpga_cyclone5.h b/include/configs/socfpga_cyclone5.h
index 9a9c85a..e8cd11d 100644
--- a/include/configs/socfpga_cyclone5.h
+++ b/include/configs/socfpga_cyclone5.h
@@ -7,9 +7,9 @@
#define __CONFIG_SOCFPGA_CYCLONE5_H__
#include <asm/arch/socfpga_base_addrs.h>
-#include "../../board/altera/socfpga/pinmux_config.h"
-#include "../../board/altera/socfpga/iocsr_config.h"
-#include "../../board/altera/socfpga/pll_config.h"
+#include "../../board/altera/socfpga/qts/pinmux_config.h"
+#include "../../board/altera/socfpga/qts/iocsr_config.h"
+#include "../../board/altera/socfpga/qts/pll_config.h"
/* U-Boot Commands */
#define CONFIG_SYS_NO_FLASH
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* [U-Boot] [PATCH] arm: socfpga: Move generated files into qts subdir
2015-07-27 20:47 [U-Boot] [PATCH] arm: socfpga: Move generated files into qts subdir Marek Vasut
@ 2015-08-03 15:57 ` Marek Vasut
0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2015-08-03 15:57 UTC (permalink / raw)
To: u-boot
On Monday, July 27, 2015 at 10:47:29 PM, Marek Vasut wrote:
> Move all the files generated by Quartus into the qts/ subdir of the
> board/altera/socfpga dir to make them explicitly separate from the
> generic U-Boot code.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
> ---
> board/altera/socfpga/Makefile | 2 +-
> board/altera/socfpga/qts/Makefile | 7 +++++++
> board/altera/socfpga/{ => qts}/iocsr_config.c | 0
> board/altera/socfpga/{ => qts}/iocsr_config.h | 0
> board/altera/socfpga/{ => qts}/pinmux_config.c | 0
> board/altera/socfpga/{ => qts}/pinmux_config.h | 0
> board/altera/socfpga/{ => qts}/pll_config.h | 0
> include/configs/socfpga_arria5.h | 6 +++---
> include/configs/socfpga_cyclone5.h | 6 +++---
> 9 files changed, 14 insertions(+), 7 deletions(-)
> create mode 100644 board/altera/socfpga/qts/Makefile
> rename board/altera/socfpga/{ => qts}/iocsr_config.c (100%)
> rename board/altera/socfpga/{ => qts}/iocsr_config.h (100%)
> rename board/altera/socfpga/{ => qts}/pinmux_config.c (100%)
> rename board/altera/socfpga/{ => qts}/pinmux_config.h (100%)
> rename board/altera/socfpga/{ => qts}/pll_config.h (100%)
Applied to u-boot-socfpga/master .
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-03 15:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27 20:47 [U-Boot] [PATCH] arm: socfpga: Move generated files into qts subdir Marek Vasut
2015-08-03 15:57 ` Marek Vasut
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox