In case that board ps7_init* files contain EMIT_WRITE convert it to MASKWRITE because default format has to work only with last two bits.
Signed-off-by: Michal Simek <michal.si...@xilinx.com> --- arch/arm/mach-zynq/include/mach/ps7_init_gpl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-zynq/include/mach/ps7_init_gpl.h b/arch/arm/mach-zynq/include/mach/ps7_init_gpl.h index 0398ba098286..af1d8cb46a71 100644 --- a/arch/arm/mach-zynq/include/mach/ps7_init_gpl.h +++ b/arch/arm/mach-zynq/include/mach/ps7_init_gpl.h @@ -22,6 +22,8 @@ #define EMIT_MASKPOLL(addr, mask) OPCODE_MASKPOLL | addr, mask #define EMIT_MASKDELAY(addr, mask) OPCODE_MASKDELAY | addr, mask +#define EMIT_WRITE(addr, val) EMIT_MASKWRITE(addr, 0, val) + /* Returns codes of ps7_init* */ #define PS7_INIT_SUCCESS (0) #define PS7_INIT_CORRUPT (1) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot