提交 b6f4048b 编写于 作者: M Michal Simek

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: NMichal Simek <michal.simek@xilinx.com>
上级 47359a03
......@@ -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
......@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册