]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: zynq: drop legacy ps7_init.c/h support
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 14 Apr 2015 07:50:50 +0000 (16:50 +0900)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 29 Apr 2015 09:19:02 +0000 (11:19 +0200)
We are about to change the location for ps7_init files, breaking the
current work-flows.  It is good time to drop the legacy ps7_init.c/h
support.

Going forward, please use ps7_init_gpl.c/h all the time.
If you are still using old Xilinx tools that are only able to
generate ps7_init.c/h, rename them into ps7_init_gpl.c/h.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Suggested-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv7/zynq/spl.c
board/xilinx/zynq/.gitignore
board/xilinx/zynq/Makefile
board/xilinx/zynq/legacy.c [deleted file]

index b80c35794a90797801cd0989da783d30376fcf2f..13025f034bf43df13f48af98624c7364b3e983f0 100644 (file)
@@ -85,6 +85,6 @@ __weak void ps7_init(void)
 {
        /*
         * This function is overridden by the one in
-        * board/xilinx/zynq/ps7_init.c, if it exists.
+        * board/xilinx/zynq/ps7_init_gpl.c, if it exists.
         */
 }
index 7c36bc963f7a3d0d39ef3398f5921c15d5feb541..c455361df625752a7953a1c9007734339049e5a0 100644 (file)
@@ -1,2 +1 @@
-ps7_init.[ch]
 ps7_init_gpl.[ch]
index 3b1eb4f74ad17ee42fc270c24f8bd08253934aa3..054c3d821d9b39a291ff6273269b2d6169c952d5 100644 (file)
@@ -9,9 +9,7 @@ obj-y   := board.o
 
 # Please copy ps7_init_gpl.c/h from hw project to this directory
 obj-$(CONFIG_SPL_BUILD) += \
-               $(if $(wildcard $(srctree)/$(src)/ps7_init_gpl.c), ps7_init_gpl.o, \
-                       $(if $(wildcard $(srctree)/$(src)/ps7_init.c), ps7_init.o legacy.o))
+       $(if $(wildcard $(srctree)/$(src)/ps7_init_gpl.c), ps7_init_gpl.o)
 
 # Suppress "warning: function declaration isn't a prototype"
 CFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes
-CFLAGS_REMOVE_ps7_init.o := -Wstrict-prototypes
diff --git a/board/xilinx/zynq/legacy.c b/board/xilinx/zynq/legacy.c
deleted file mode 100644 (file)
index 4ae913e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-#warning usage of ps7_init files is deprecated please use ps7_init_gpl