cmd_mem: fix cp command

The "cp" command has not worked since
commit 0628ab8ec59834f98ede267edd21ddb8ba0bb57b,
because of the following lines, which set the destination
and the source to the same address.

	buf = map_sysmem(addr, bytes);
	src = map_sysmem(addr, bytes);

Tested-by: Tom Rini <trini@ti.com>
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
cfi_flash: Add write buffer hack for M29EW flash

Added CONFIG_ZYNQ_M29EW_WB_HACK.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
zynq_common: Use cp.b instead of cp in nor autoboot

Used cp.b instead of cp in nor autoboot, cp had an issue
while using in autoboot as per the latest test.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
sf: Use spi_xfer in spi_flash_cmd_wait_ready

Use spi_xfer instead of spi_flash_read_common() in spi_flash_cmd_wait_ready
to make sure that the read|flag_status poll happen on loop and
SPI_XFER_BEGIN and SPI_XFER_END will done in outof loop.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>