ARM: zynq: Use the same logic to protect fpga vars

This should be the part of patch:
"ARM: zynq: Do not call fpga init when FPGA is disabled in SPL"
(sha1: c223eaa214e723d4fe8b83ca86d00f6c6b4f0d7b)

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
sf: Set QUAD enable of upper flash in Dual Stacked

Sets the QUAD enable bit for upper flash incase of
dual stacked mode.
This fixes the issue of where the quad enable bit
of the upperflash was not set and hence not able
to access the upperflash using quad commands in
Dual stacked mode.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
net: zynq: Use predefined macros instead of hardcoded value

MII is used by this driver.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
net: emaclite: Use predefined macros instead of hardcoded value

MII is used by this driver.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
zynq: rsa: Correct the total partition header size calculation

Correct the partition header size calculation while copying the
partition header information.
This fixes the issue of corrupting the bss section because of
the wrong size calculation during copy.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
fpga: zynqpl: Correct the variable names in do_zynq_decrypt_image

Assign the variables as per its name while parsing the zynq_aes
command.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
sf: params: Added support for Spansion S25FL512S_512K

Added support for Spansion chip "S25FL512S_512K".

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
spi: zynq_qspi: Dont clear the previous config register

Dont clear the previous config register as the iMPACT tool
expects the u-boot to keep settings of the config register
for flashing.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
zynq: Move USB/SD/MMC common FAT configs

Moved the USB/SD/MMC common FAT configs separately
to avoid redefinition warnings.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
zynq: Enable EXT4 configs

Enabled the EXT4 configs.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

Conflicts:
	include/configs/zynq-common.h