diff options
author | Tom Rini <trini@ti.com> | 2014-11-13 08:38:17 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-13 08:38:17 -0500 |
commit | 3deb013ae780c19f40b0704a7f421ad479962618 (patch) | |
tree | 18f8e2abed8a2c295b6157f286288621ee46226d /board | |
parent | 01541eeccdf74ee68f9a3014b6cdc26395be4dc0 (diff) | |
parent | 61eb3cf2d5ef174b5a3008df6f7530b21f393261 (diff) | |
download | u-boot-imx-3deb013ae780c19f40b0704a7f421ad479962618.zip u-boot-imx-3deb013ae780c19f40b0704a7f421ad479962618.tar.gz u-boot-imx-3deb013ae780c19f40b0704a7f421ad479962618.tar.bz2 |
Merge branch 'zynq' of git://www.denx.de/git/u-boot-microblaze
Diffstat (limited to 'board')
-rw-r--r-- | board/xilinx/zynq/.gitignore | 1 | ||||
-rw-r--r-- | board/xilinx/zynq/Makefile | 6 | ||||
-rw-r--r-- | board/xilinx/zynq/legacy.c | 2 | ||||
-rw-r--r-- | board/xilinx/zynq/xil_io.h | 2 |
4 files changed, 8 insertions, 3 deletions
diff --git a/board/xilinx/zynq/.gitignore b/board/xilinx/zynq/.gitignore index 68b8edd..7c36bc9 100644 --- a/board/xilinx/zynq/.gitignore +++ b/board/xilinx/zynq/.gitignore @@ -1 +1,2 @@ ps7_init.[ch] +ps7_init_gpl.[ch] diff --git a/board/xilinx/zynq/Makefile b/board/xilinx/zynq/Makefile index 71c0c35..3b1eb4f 100644 --- a/board/xilinx/zynq/Makefile +++ b/board/xilinx/zynq/Makefile @@ -7,9 +7,11 @@ obj-y := board.o -# Please copy ps7_init.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) += \ - $(if $(wildcard $(srctree)/$(src)/ps7_init.c), ps7_init.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" +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 new file mode 100644 index 0000000..4ae913e --- /dev/null +++ b/board/xilinx/zynq/legacy.c @@ -0,0 +1,2 @@ + +#warning usage of ps7_init files is deprecated please use ps7_init_gpl diff --git a/board/xilinx/zynq/xil_io.h b/board/xilinx/zynq/xil_io.h index e59a977..1eccf8d 100644 --- a/board/xilinx/zynq/xil_io.h +++ b/board/xilinx/zynq/xil_io.h @@ -6,7 +6,7 @@ #define XIL_IO_H /* - * This empty file is here because ps7_init.c exported by hw project + * This empty file is here because ps7_init_gpl.c exported by hw project * has #include "xil_io.h" line. */ |