template:/petalinux-auto-board.h: Remove 0x in front of ${filesize}

The 0x is not required tread as hex value. However, this is required
for Zynq sd_update_boot because the filesize return by fat load is
in hex size but with 0x prefix. This will cause sf error due to
the file size is 0x0xABCD not 0xABCD.

Signed-off-by: Jason Wu <huanyu@xilinx.com>
zynq_qspips:Break infinite loop after 1000 status read after trying to set qbit

Currently, u-boot end up in infinite loop when the status reg of the SPI flash
is not 0 after it tries to set the quad bit. If quad bit setting fails, u-boot
hangs because of this infinite loop.

We introduce a counter. If the status register value is still not 0 after 1000
runs, it break the loop.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
zynq_qspips:Break infinite loop after 1000 status read after trying to set qbit

Currently, u-boot end up in infinite loop when the status reg of the SPI flash
is not 0 after it tries to set the quad bit. If quad bit setting fails, u-boot
hangs because of this infinite loop.

We introduce a counter. If the status register value is still not 0 after 1000
runs, it break the loop.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
Merge branch 'master-next' into petalinux/master-next
spi: zynq_qspips: Fix coding style - long line

Introduced by petalinux commit:
zynq_qspips:Break infinite loop after 1000 status ...
(sha1: 6a3c44bfb3fda7f1d52938ad4b621293c8b9d2ab)

Signed-off-by: Michal Simek <michal.simek@xilinx.com>