diff options
author | Michal Simek <michal.simek@xilinx.com> | 2016-07-14 11:13:04 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-11-15 15:30:29 +0100 |
commit | b6f4048b547f576d7534533fc17b3b257a252e26 (patch) | |
tree | 4df1a8a46f25f54d17b80114a650f5fd307ef2d9 /board | |
parent | 47359a0394b28802c60c9381ac7bab31cb065146 (diff) | |
download | u-boot-imx-b6f4048b547f576d7534533fc17b3b257a252e26.zip u-boot-imx-b6f4048b547f576d7534533fc17b3b257a252e26.tar.gz u-boot-imx-b6f4048b547f576d7534533fc17b3b257a252e26.tar.bz2 |
ARM64: zynqmp: Ignore warnings from autogenerated files
Autogenerated files contain casting issues and missing function
declaration and even usleep implementation. Suppress them for now
till these files are fixed.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/xilinx/zynqmp/Makefile | 3 | ||||
-rw-r--r-- | board/xilinx/zynqmp/xil_io.h | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/board/xilinx/zynqmp/Makefile b/board/xilinx/zynqmp/Makefile index 90f00c6..efc8eda 100644 --- a/board/xilinx/zynqmp/Makefile +++ b/board/xilinx/zynqmp/Makefile @@ -27,3 +27,6 @@ CFLAGS_REMOVE_psu_init_gpl.o := -Wstrict-prototypes # To include xil_io.h CFLAGS_psu_init_gpl.o := -I$(srctree)/$(src) + +# To suppress "warning: cast to pointer from integer of different size" +CFLAGS_psu_init_gpl.o += -Wno-int-to-pointer-cast diff --git a/board/xilinx/zynqmp/xil_io.h b/board/xilinx/zynqmp/xil_io.h index 57ca4ad..6bbc000 100644 --- a/board/xilinx/zynqmp/xil_io.h +++ b/board/xilinx/zynqmp/xil_io.h @@ -7,6 +7,7 @@ /* FIXME remove this when vivado is fixed */ #include <asm/io.h> +#include <common.h> #define xil_printf(...) @@ -32,4 +33,12 @@ int Xil_In32(unsigned long addr) return readl(addr); } +void mask_delay(u32 delay); +void usleep(u32 sleep) +{ + udelay(sleep); +} +int mask_poll(u32 add, u32 mask); +int mask_pollOnValue(u32 add, u32 mask, u32 value); + #endif /* XIL_IO_H */ |