[U-Boot] [PATCH] arm: socfpga: Move generated files into qts subdir
Marek Vasut
marex at denx.de
Mon Jul 27 22:47:29 CEST 2015
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 at denx.de>
Cc: Dinh Nguyen <dinguyen at 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 at 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
More information about the U-Boot
mailing list