Skip to content
Snippets Groups Projects
Commit e7fa7d5c authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Michal Simek
Browse files

ARM: zynq: drop legacy ps7_init.c/h support


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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Suggested-by: default avatarSören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 7a1aec8d
No related branches found
No related tags found
No related merge requests found
...@@ -85,6 +85,6 @@ __weak void ps7_init(void) ...@@ -85,6 +85,6 @@ __weak void ps7_init(void)
{ {
/* /*
* This function is overridden by the one in * 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.
*/ */
} }
ps7_init.[ch]
ps7_init_gpl.[ch] ps7_init_gpl.[ch]
...@@ -9,9 +9,7 @@ obj-y := board.o ...@@ -9,9 +9,7 @@ obj-y := board.o
# Please copy ps7_init_gpl.c/h from hw project to this directory # Please copy ps7_init_gpl.c/h from hw project to this directory
obj-$(CONFIG_SPL_BUILD) += \ obj-$(CONFIG_SPL_BUILD) += \
$(if $(wildcard $(srctree)/$(src)/ps7_init_gpl.c), ps7_init_gpl.o, \ $(if $(wildcard $(srctree)/$(src)/ps7_init_gpl.c), ps7_init_gpl.o)
$(if $(wildcard $(srctree)/$(src)/ps7_init.c), ps7_init.o legacy.o))
# Suppress "warning: function declaration isn't a prototype" # Suppress "warning: function declaration isn't a prototype"
CFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes CFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes
CFLAGS_REMOVE_ps7_init.o := -Wstrict-prototypes
#warning usage of ps7_init files is deprecated please use ps7_init_gpl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment