]> git.ipfire.org Git - thirdparty/u-boot.git/log
thirdparty/u-boot.git
7 years agoarm64: zynqmp: Print the value of pl clocks and wdt clock using clk dump
Vipul Kumar [Wed, 7 Mar 2018 09:22:44 +0000 (14:52 +0530)] 
arm64: zynqmp: Print the value of pl clocks and wdt clock using clk dump

This patch print pl clocks (pl0...pl3) and watchdog
clock using clk dump.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: nand: Fixed NAND erase issue for size 1GiB or more
Vipul Kumar [Mon, 5 Mar 2018 09:54:59 +0000 (15:24 +0530)] 
arm64: zynqmp: nand: Fixed NAND erase issue for size 1GiB or more

NAND erase was not happening for size 1GiB or more. Erase
command was executing successfully but in actual, it was not
erasing.
This patch fixed erase issue for 1 GiB or more size nand.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agopytest: zynq_aes: Add pytest for zynqaes command
Siva Durga Prasad Paladugu [Tue, 6 Mar 2018 12:07:11 +0000 (17:37 +0530)] 
pytest: zynq_aes: Add pytest for zynqaes command

This patch adds pytest for zynqaes commands. It tests
loading encrypted image back to DDR and tests loading
encrypted bitstream to PL using "zynqaes load" command.
This test needs to be executed only in bootmode, if not it
wil be skipped.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agofpga: zynq: Poll for PCFG_DONE if encrypted image is bitstream
Siva Durga Prasad Paladugu [Tue, 6 Mar 2018 12:07:10 +0000 (17:37 +0530)] 
fpga: zynq: Poll for PCFG_DONE if encrypted image is bitstream

This patch polls for PCFG_DONE if encrypted image is bitstream
to ensure that bitstream programming is successful. This also
invokes missing zynq_slcr_devcfg_enable() to bring up axi interface
after programming is done.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agofpga: zynq: Add delay after PCFG_PROG_B change
Siva Durga Prasad Paladugu [Tue, 6 Mar 2018 12:07:09 +0000 (17:37 +0530)] 
fpga: zynq: Add delay after PCFG_PROG_B change

There is delay needed after PCFG_PROGB change if
AES key source is efuse. This fixes the issue of
encrypted bitstream loading with AES efuse as key
source.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agofpga: zynq: aes: Use flush_dcache_range() instead of cache on/off
Siva Durga Prasad Paladugu [Tue, 6 Mar 2018 12:07:08 +0000 (17:37 +0530)] 
fpga: zynq: aes: Use flush_dcache_range() instead of cache on/off

Use flush_dcache_range() instead of dcache disable and
enable as its more meaningful to flush a region than
disabling cache and enabling it back. This fixes the
issue of GEM failure after using zynq aes.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agofpga: zynq: aes: Make source and destination bytes to words
Siva Durga Prasad Paladugu [Tue, 6 Mar 2018 12:07:07 +0000 (17:37 +0530)] 
fpga: zynq: aes: Make source and destination bytes to words

Convert source and destination bytes into words length as
zynq_decrypt_load() expects it in terms of words instead
of bytes. This fixes the issue of zynqaes comamnd failure
while decrypting an encrypted image.

Note: roundup can work even without % 4 check before but expectation is
that src and dest is already aligned properly.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agocmd: zynq: rsa: Setup proper dependency on zynq
Michal Simek [Tue, 6 Mar 2018 13:29:45 +0000 (14:29 +0100)] 
cmd: zynq: rsa: Setup proper dependency on zynq

This function can't be called on different SoC that's why add dependency
on Zynq before this is moved to board/xilinx/zynq folder.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agocmd: fpga: zynqmp: Update fpga loads command
Siva Durga Prasad Paladugu [Thu, 1 Mar 2018 12:14:48 +0000 (17:44 +0530)] 
cmd: fpga: zynqmp: Update fpga loads command

This patch updates fpga loads command to load
secure bitstream images. The secure bitstream
image has to be generated using xilinx bootgen
tool only.

fpga loads [dev] [address] [size] [auth-OCM(0)/DDR(1)/noauth(2)]
       [enc-devkey(0)/userkey(1)/noenc(2)] [Userkey address]

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agofpga: zynqmp: Update zynqmp_load() as per latest xilfpga
Siva Durga Prasad Paladugu [Thu, 1 Mar 2018 12:14:47 +0000 (17:44 +0530)] 
fpga: zynqmp: Update zynqmp_load() as per latest xilfpga

Latest xilfpga expects to set BIT5 of flags for nonsecure
bitsream and also expects length in bytes instead of words
This patch does the same.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agopytest: fpga: Add pytest case for fpga loads command
Siva Durga Prasad Paladugu [Thu, 1 Mar 2018 12:14:49 +0000 (17:44 +0530)] 
pytest: fpga: Add pytest case for fpga loads command

This patch adds pytest for fpga loads command. This
command is used to verify and load secure bitstreams
on to FPGA. This patch adds two test cases
1. Load authenticated bitstream
2. Load authenticated and encrypted bitstream. Encryption
  is with user key.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agotest/py: Remove test_qspi_boot_images
Michal Simek [Fri, 2 Mar 2018 07:26:41 +0000 (08:26 +0100)] 
test/py: Remove test_qspi_boot_images

Test was designed in a way that jtag boot will load images for qspi boot
but this is not needed anymore. Loading images to qspi is done in
different way.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Add support for verifying secure images
Siva Durga Prasad Paladugu [Wed, 28 Feb 2018 07:56:53 +0000 (13:26 +0530)] 
arm64: zynqmp: Add support for verifying secure images

This patch adds new command "zynqmp" to handle zynqmp
specific commands like "zynqmp secure". This secure command is
used for verifying zynqmp specific secure images. The secure
image can either be authenticated or encrypted or both encrypted
and authenticated. The secure image is prepared using bootgen
and will be in xilinx specific BOOT.BIN format. The optional
key can be used for decryption of encrypted image if user
key was specified while creation BOOT.BIN.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agopytest: zynqmp: secure: Add pytest for zynqmp secure command
Siva Durga Prasad Paladugu [Wed, 28 Feb 2018 07:56:54 +0000 (13:26 +0530)] 
pytest: zynqmp: secure: Add pytest for zynqmp secure command

This patch adds pytest for zynqmp secure command.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Correct EG/EV part detection logic
Siva Durga Prasad Paladugu [Fri, 2 Mar 2018 10:50:10 +0000 (16:20 +0530)] 
arm64: zynqmp: Correct EG/EV part detection logic

The vcu disable bit in efuse ipdisable register is valid only
if PL powered up so, consider PL powerup status for determing
EG/EV part. If PL is not powered up, ignore EG/EV part of string.
The PL powerup status will be filled by pmufw based on PL PROGB
status in the 9th bit of version field.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Remove ep108 board
Michal Simek [Fri, 2 Mar 2018 07:11:43 +0000 (08:11 +0100)] 
arm64: zynqmp: Remove ep108 board

ZynqMP Emulation board is no longer tested and there is no reason to
keep maintaining it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Removed CONFIG_SYS_MALLOC_LEN for mini configuration
Vipul Kumar [Tue, 27 Feb 2018 12:21:30 +0000 (17:51 +0530)] 
arm: zynq: Removed CONFIG_SYS_MALLOC_LEN for mini configuration

This patch removed CONFIG_SYS_MALLOC_LEN from the header file as it
was already handled through Kconfig. During nand write operation,
CONFIG_SYS_MALLOC_LEN defined in header file was giving End of Memory
error.

nand write is working fine with the CONFIG_SYS_MALLOC_LEN defined
in cse_nand defconfig.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: mini-emmc: Added clock configuration in the device tree
Vipul Kumar [Mon, 26 Feb 2018 08:52:50 +0000 (14:22 +0530)] 
arm64: zynqmp: mini-emmc: Added clock configuration in the device tree

This patch added clock configuration for mini emmc in the
device tree and enabled CONFIG_MMC_SDHCI_ZYNQ in defconfig.
Without CONFIG_MMC_SDHCI_ZYNQ, the device was failed to
register. Without this clk configuration, mmc device was
failed to get clk. CONFIG_DOS_PARTITION will be enabled
through Kconfig and hence removed from header file.

After adding all these changes, emmc is working fine.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agopytest: qspi: Fix issues with qspi_write_twice
Siva Durga Prasad Paladugu [Fri, 23 Feb 2018 06:23:24 +0000 (11:53 +0530)] 
pytest: qspi: Fix issues with qspi_write_twice

This patch fixes the issue with qspi_write_twice by properly
calculating the sizes, offsets and by erasing the region
before writing to it. This also removes unnecessary
erase block. Thsi fixes the issue of CRC failures in
qspi_write_twice.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agozynqmp: Change kernel and fdt offsets in default environment
Siva Durga Prasad Paladugu [Fri, 23 Feb 2018 06:01:30 +0000 (11:31 +0530)] 
zynqmp: Change kernel and fdt offsets in default environment

This patch changes the kernel and fdt offsets in default environment
as the current offset of 1MB doesn't fit boot image till u-boot due to
increased size of u-boot and other bootimages.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoclk: zynqmp: Add new compatible string for clock driver
Michal Simek [Wed, 21 Feb 2018 12:59:21 +0000 (13:59 +0100)] 
clk: zynqmp: Add new compatible string for clock driver

New and old clk drivers are sharing IDs and descriptions.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoclk: zynq: Show watchdog clock rate properly
Michal Simek [Wed, 21 Feb 2018 14:06:20 +0000 (15:06 +0100)] 
clk: zynq: Show watchdog clock rate properly

watchdog clock is also connected to cpu 1X clocksource.

Zynq> clk dump
...

Before:
      swdt          4294967290
After:
      swdt           111111110

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agosoc: zynqmp: Update required API version to 1.0
Rajan Vaja [Wed, 7 Feb 2018 14:49:21 +0000 (06:49 -0800)] 
soc: zynqmp: Update required API version to 1.0

Existing EEMI version is to as 1.0.
Update required API version to match with EEMI
API version.

Signed-off-by: Rajan Vaja <rajanv@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agofpga: zynqmp: Add support to get the PCAP status for fpga info command
Nitin Jain [Fri, 16 Feb 2018 11:59:54 +0000 (17:29 +0530)] 
fpga: zynqmp: Add support to get the PCAP status for fpga info command

This patch adds support for ZynqMP platform to print FPGA PCAP status
for "fpga status" command.

Signed-off-by: Nitin Jain <nitinj@xilinx.com>
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Split emmc configuration into emmc0 and emmc1
Siva Durga Prasad Paladugu [Tue, 20 Feb 2018 07:41:18 +0000 (13:11 +0530)] 
arm64: zynqmp: Split emmc configuration into emmc0 and emmc1

This patch splits the current mini emmc configuration into emmc0
and emmc1 configurations because emmc is probed at run time and on
systems which have only one interface mini configuration is failing on
unused interface. For example clock is not enabled.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agonet: zynq_gem: Dont run any phy detection logic for GMII case
Siva Durga Prasad Paladugu [Tue, 20 Feb 2018 06:26:19 +0000 (11:56 +0530)] 
net: zynq_gem: Dont run any phy detection logic for GMII case

This patch bypasses phy detection logic for GMII interface
and just depend on phy address received from DT. This patch
is required as phy detection logic is different for some phys
like xilinx phy which can be connected over SGMII and GMII
interface.
This fixes the issue of ethernet failures when xilinx phy is
connected over GMII interface.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Add support to load an app at EL1
Nitin Jain [Fri, 16 Feb 2018 07:26:17 +0000 (12:56 +0530)] 
arm64: zynqmp: Add support to load an app at EL1

This patch is adding support to switch to EL1 while loading an EL1
application with u-boot running at EL above EL1 in aarch64 mode.

Signed-off-by: Nitin Jain <nitinj@xilinx.com>
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoRevert "pytest: Mark memtest_ddr as xfail"
Michal Simek [Thu, 15 Feb 2018 08:52:58 +0000 (09:52 +0100)] 
Revert "pytest: Mark memtest_ddr as xfail"

This reverts commit dfb16ce1b29a246e3a2e210721c880fa157e0f18.

The previous patch
"arm64: zynqmp: Changed scratch address used by the alternate memory
test" is fixing this test failure.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Changed scratch address used by the alternate memory test
Vipul Kumar [Thu, 15 Feb 2018 05:54:41 +0000 (11:24 +0530)] 
arm64: zynqmp: Changed scratch address used by the alternate memory test

This patch changed CONFIG_SYS_MEMTEST_SCRATCH address to the
accessible DDR address used by alternate memory test.
Before this, 0xfffc0000 address was used, which is the OCM
address and not enabled in MMU table. So, whenever trying
to access 0xfffc0000 address, got Synchronous Abort exception.

After changing CONFIG_SYS_MEMTEST_SCRATCH address, alternate
memory test is working fine.
Keep origin setting just for mini configurations.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoenv: Relocate env drivers if manual reloc is required
Siva Durga Prasad Paladugu [Sat, 10 Feb 2018 09:35:20 +0000 (15:05 +0530)] 
env: Relocate env drivers if manual reloc is required

Relocate env drivers if manual relocation is enabled. This
patch fixes the issue of u-boot hang incase if env is
present in any of the flash devices.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Move bootargs setting to Kconfig
Michal Simek [Mon, 12 Feb 2018 07:15:01 +0000 (08:15 +0100)] 
arm64: zynqmp: Move bootargs setting to Kconfig

bootargs should be setup via Kconfig. There are still xilinx commands
which are changing command line based on bootmode which are not moved.
Moving to distro default is probably the best thing to do.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
7 years agoarm64: zynqmp: Enable newer pmufw versions
Michal Simek [Thu, 8 Feb 2018 07:51:36 +0000 (08:51 +0100)] 
arm64: zynqmp: Enable newer pmufw versions

As of now newer pmufw is keeping old interfaces. That's why permit
u-boot to run on newer version. Recommended version will be setup later.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Cleanup zc12XX defconfigs
Michal Simek [Fri, 9 Feb 2018 10:04:56 +0000 (11:04 +0100)] 
arm64: zynqmp: Cleanup zc12XX defconfigs

The patch
"Kconfig: Select networking commands only when NET is enabled"
(sha1: 99dcbdd8a3c3b6b9d7a4adb32bce73e51e51b7c9)
introduced dependency on NET which is not enabled on zc12xx targets.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoKconfig: Select networking commands only when NET is enabled
Michal Simek [Tue, 6 Feb 2018 12:28:36 +0000 (13:28 +0100)] 
Kconfig: Select networking commands only when NET is enabled

There is no reason to unconditially select network commands as distro
defaults without networking enable.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoKconfig: net: phylib: Phylib should depends on NET
Michal Simek [Tue, 6 Feb 2018 12:23:52 +0000 (13:23 +0100)] 
Kconfig: net: phylib: Phylib should depends on NET

There is no value to enable phylib without networking support.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
7 years agoomap4: sdp4430: Enable CONFIG_NET for this platform
Michal Simek [Thu, 8 Feb 2018 07:58:59 +0000 (08:58 +0100)] 
omap4: sdp4430: Enable CONFIG_NET for this platform

Distro default configuration contains also dhcp and pxe setting which
can't working without enabling CONFIG_NET.
EFI is not required that's why it is not enabled.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agosandbox: Fixed spi-flash sandbox compilation warnings
Vipul Kumar [Thu, 8 Feb 2018 11:06:16 +0000 (16:36 +0530)] 
sandbox: Fixed spi-flash sandbox compilation warnings

This patch fixed spi-flash sandbox compilation warnings.
There is a variable bank_addr which was set but unused.
Defined this variable on the basis of configs and used
according to that configs.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: cse-nand: Added pre-relocation property in cse-nand dts
Vipul Kumar [Thu, 8 Feb 2018 07:28:55 +0000 (12:58 +0530)] 
arm: cse-nand: Added pre-relocation property in cse-nand dts

This patch added u-boot,dm-pre-reloc property in the
dts of cse-nand. Without this property, the device was not
getting probe and timer initialization was getting
fail. This property enable the pre-relocation support.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agozynqmp: aes: Print error code incase of decryption failure
Siva Durga Prasad Paladugu [Wed, 7 Feb 2018 06:01:49 +0000 (11:31 +0530)] 
zynqmp: aes: Print error code incase of decryption failure

This patch prints error code incase of decryption failure
Also used __func__ instead of function name to avoid checkpatch
warning

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agospl: fit: move fdt_record_loadable out of ARCH_FIXUP_FDT_MEMORY guard
Philipp Tomsich [Fri, 2 Feb 2018 11:01:44 +0000 (12:01 +0100)] 
spl: fit: move fdt_record_loadable out of ARCH_FIXUP_FDT_MEMORY guard

The fdt_record_loadable()-function was wedged between other functions
that were guarded by ARCH_FIXUP_FDT_MEMORY.  This could lead to linker
errors on some configurations.

With this change, fdt_record_loadable() is moved out of the
ARCH_FIXUP_FDT_MEMORY guard (plus I tried to retain alphabetical
ordering for functions by placing it appropriately).

References: 9f45aeb ("spl: fit: implement fdt_record_loadable")
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reported-by: Michal Simek <michal.simek@xilinx.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoRevert "asm-generic: atomic: Remove unused functions"
Michal Simek [Thu, 1 Feb 2018 07:57:50 +0000 (08:57 +0100)] 
Revert "asm-generic: atomic: Remove unused functions"

This reverts commit c47d9122713e419c6af2faddf47c75b6ae009720.

And also squashed with mainline patch which solves it differently
"atomic-long: Fix warnings on arm64"
(sha1: 9c3264ce40130966897fb9c1b91c120f588531d0)

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Disable ethernet commands for zc12xx platforms
Michal Simek [Wed, 31 Jan 2018 15:11:36 +0000 (16:11 +0100)] 
arm64: zynqmp: Disable ethernet commands for zc12xx platforms

These board have no ethernet inteface or usb to ethernet interfaces
that's why ethernet commands are not needed.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agopytest: Mark memtest_ddr as xfail
Michal Simek [Wed, 31 Jan 2018 13:57:26 +0000 (14:57 +0100)] 
pytest: Mark memtest_ddr as xfail

This test is failing on ZynqMP. Mark it as xfail to make sure that it
gets to different category.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Enable debug uart on Zedboard
Siva Durga Prasad Paladugu [Wed, 24 Jan 2018 11:50:32 +0000 (17:20 +0530)] 
arm: zynq: Enable debug uart on Zedboard

It helps with debugging.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Fix misspelled choice default
Ulf Magnusson [Tue, 30 Jan 2018 13:02:01 +0000 (14:02 +0100)] 
arm64: zynqmp: Fix misspelled choice default

There is no JTAG symbol in the "Boot mode" choice. JTAG_MODE was
probably intended.

No functional changes. Kconfig choices fall back on using the first
(visible) symbol in the choice as the default if the default symbol is
not visible.

Discovered in Kconfiglib (https://github.com/ulfalizer/Kconfiglib),
which prints the following warning:

warning: the default selection JTAG (undefined) of <choice> (defined at arch/arm/cpu/armv8/zynqmp/Kconfig:107) is not contained in the choice

I've added a corresponding warning to the C tools too, which is
currently in linux-next: https://patchwork.kernel.org/patch/9983667/

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoconfigs: zynqmp: Enable Fixed link support
Siva Durga Prasad Paladugu [Thu, 25 Jan 2018 12:19:23 +0000 (17:49 +0530)] 
configs: zynqmp: Enable Fixed link support

This patch enables the fixed link support for
all ZynqMP boards.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agotest: py: Move ram base address detection out of loop
Michal Simek [Tue, 23 Jan 2018 12:35:09 +0000 (13:35 +0100)] 
test: py: Move ram base address detection out of loop

There is no reason to read base address in a loop. Do it just once.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agotest: py: Create qspi write continue test
Michal Simek [Tue, 23 Jan 2018 13:51:15 +0000 (14:51 +0100)] 
test: py: Create qspi write continue test

test_qspi_write_twice() is not checking if read back is rewriting
location around start and end in DDR.
Test is doing these steps:
- erasing qspi
- crc32 over full qspi size in DDR
- sf write with 3 writes
  - first write inside page size
  - second write with size over page size
  - third write with rest of data till total size
- sf read the whole qspi back to different DDR location
- crc32 over it

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agotest: py: Erase qspi before writing data
Michal Simek [Tue, 23 Jan 2018 11:43:22 +0000 (12:43 +0100)] 
test: py: Erase qspi before writing data

Every test should be able to run independently that's why test should
clear qspi before write.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agomicroblaze: Moved ethernet PHY configs of Microblaze board to defconfig
Vipul Kumar [Wed, 24 Jan 2018 05:21:32 +0000 (10:51 +0530)] 
microblaze: Moved ethernet PHY configs of Microblaze board to defconfig

This patch moved ethernet PHY configs of Microblaze board to
respective defconfig.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Moved ethernet PHY configs of ZynqMP boards to defconfig
Vipul Kumar [Wed, 24 Jan 2018 05:21:31 +0000 (10:51 +0530)] 
arm64: zynqmp: Moved ethernet PHY configs of ZynqMP boards to defconfig

This patch moved ethernet PHY configs of ZynqMP boards
to respective defconfig.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Moved ethernet PHY configs of Zynq boards to defconfig
Vipul Kumar [Wed, 24 Jan 2018 05:21:30 +0000 (10:51 +0530)] 
arm: zynq: Moved ethernet PHY configs of Zynq boards to defconfig

This patch moved ethernet PHY configs of Zynq boards
to respective defconfig.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoaxi: ethernet: Added support for 64 bit addressing for axi-ethernet
Vipul Kumar [Tue, 23 Jan 2018 09:22:35 +0000 (14:52 +0530)] 
axi: ethernet: Added support for 64 bit addressing for axi-ethernet

This patch uses writeq() function to enable greater than 32 bit
addressing of axi-ethernet for the ZynqMP devices.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agospi: zynq_qspi: Typecast rxbuf properly
Siva Durga Prasad Paladugu [Tue, 23 Jan 2018 06:41:18 +0000 (12:11 +0530)] 
spi: zynq_qspi: Typecast rxbuf properly

This patch typecasts and accesses rx buf properly as
an unaligned rxbuf, typecasting with u16 and accessing
it causes data abort excpetion and this patch fixes it.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agospi: Add support for spi part sst26wf016b
Siva Durga Prasad Paladugu [Fri, 13 Oct 2017 05:35:04 +0000 (11:05 +0530)] 
spi: Add support for spi part sst26wf016b

This patch adds spi device sst26wf016b to the
supported spi flash ids

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agotest: py: DDR address for writing data back is also randomized
Michal Simek [Fri, 19 Jan 2018 09:43:05 +0000 (10:43 +0100)] 
test: py: DDR address for writing data back is also randomized

Make sure that test is using diferent offsets for reading data back.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agopy: test: Fix qspi crc handling
Michal Simek [Fri, 19 Jan 2018 09:20:09 +0000 (10:20 +0100)] 
py: test: Fix qspi crc handling

Read the whole CRC string not just one char.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agospi: zynq_qspi: Read only one byte at a time from txbuf
Siva Durga Prasad Paladugu [Fri, 19 Jan 2018 06:17:56 +0000 (11:47 +0530)] 
spi: zynq_qspi: Read only one byte at a time from txbuf

Read only one byte at a time from txbuf as txbuf may not be
aligned and accessing more than a byte at a time may cause
alignment issues. This fixes the issue of data abort exception
while writing to flash device.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agonet: zynq_gem: Use max-speed property from dt
Siva Durga Prasad Paladugu [Thu, 21 Sep 2017 04:52:21 +0000 (10:22 +0530)] 
net: zynq_gem: Use max-speed property from dt

Add support to use max-speed property from dt for
determining the supported speed. Use 1000Mbps as
default.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agomtd: spi-nor: Added support to check addressing mode before calling clean_bar()
Vipul Kumar [Tue, 16 Jan 2018 10:48:00 +0000 (16:18 +0530)] 
mtd: spi-nor: Added support to check addressing mode before calling clean_bar()

SPI erase, write and read operations were not happening properly and due to
this compare operation was getting failed. This patch checks addressing
mode before calling clean_bar() function. There is no need to set bank
address in 4 bytes addressing mode. This is to be inline with write_bar()
function.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agotest: py: Add generic sata test
Michal Simek [Thu, 18 Jan 2018 08:20:50 +0000 (09:20 +0100)] 
test: py: Add generic sata test

This sata test should be run on zc1751 xm017 dc3.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agotest: py: Use proper boardspec for zcu102 i2c device test
Michal Simek [Thu, 18 Jan 2018 07:23:54 +0000 (08:23 +0100)] 
test: py: Use proper boardspec for zcu102 i2c device test

Add full board name which is required. Wildcard are not supported yet.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Enable gem on zc1751-dc5
Michal Simek [Wed, 17 Jan 2018 11:51:30 +0000 (12:51 +0100)] 
arm64: zynqmp: Enable gem on zc1751-dc5

Gem is available on dc5 but it wasn't enabled.
Enable also random mac address generation and phy handling.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Enable mtest command at least on one platform
Michal Simek [Wed, 17 Jan 2018 07:41:13 +0000 (08:41 +0100)] 
arm: zynq: Enable mtest command at least on one platform

mtest is being checked by test/py framework and this test should run at
least on one platform that's why enabling mtest on zc702.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agopy: test: Add simple sata test for zcu102
Michal Simek [Tue, 16 Jan 2018 14:43:51 +0000 (15:43 +0100)] 
py: test: Add simple sata test for zcu102

Sata is supported on zcu102. It is testing proper serdes setting from
psu_init* and also at least HDD detection.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Clean psu_init* files for zcu100-revC
Michal Simek [Wed, 10 Jan 2018 13:02:45 +0000 (14:02 +0100)] 
arm64: zynqmp: Clean psu_init* files for zcu100-revC

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Clean psu_init* files for zcu106-revA
Michal Simek [Mon, 15 Jan 2018 12:42:51 +0000 (13:42 +0100)] 
arm64: zynqmp: Clean psu_init* files for zcu106-revA

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Clean psu_init* files for zcu104-revA
Michal Simek [Mon, 15 Jan 2018 09:10:21 +0000 (10:10 +0100)] 
arm64: zynqmp: Clean psu_init* files for zcu104-revA

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Clean psu_init* files for zc1254-revA
Michal Simek [Mon, 15 Jan 2018 09:23:45 +0000 (10:23 +0100)] 
arm64: zynqmp: Clean psu_init* files for zc1254-revA

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Clean psu_init* files for zc1232-revA
Michal Simek [Mon, 15 Jan 2018 09:22:24 +0000 (10:22 +0100)] 
arm64: zynqmp: Clean psu_init* files for zc1232-revA

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Clean psu_init* files for zc1751-dc1
Michal Simek [Mon, 15 Jan 2018 09:50:33 +0000 (10:50 +0100)] 
arm64: zynqmp: Clean psu_init* files for zc1751-dc1

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Clean psu_init* files for zc1751-dc2
Michal Simek [Mon, 15 Jan 2018 09:25:12 +0000 (10:25 +0100)] 
arm64: zynqmp: Clean psu_init* files for zc1751-dc2

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Clean psu_init* files for zc1751-dc3
Michal Simek [Mon, 15 Jan 2018 09:49:29 +0000 (10:49 +0100)] 
arm64: zynqmp: Clean psu_init* files for zc1751-dc3

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Clean psu_init* files for zc1751-dc4
Michal Simek [Mon, 15 Jan 2018 09:26:52 +0000 (10:26 +0100)] 
arm64: zynqmp: Clean psu_init* files for zc1751-dc4

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Clean psu_init* files for zc1751-dc5
Michal Simek [Mon, 15 Jan 2018 09:29:05 +0000 (10:29 +0100)] 
arm64: zynqmp: Clean psu_init* files for zc1751-dc5

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Clean psu_init* files for ep108
Michal Simek [Mon, 15 Jan 2018 09:51:28 +0000 (10:51 +0100)] 
arm64: zynqmp: Clean psu_init* files for ep108

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

And also remove psu_ddr_phybringup_data(), psu_ddr_init_data() which are
not called at all.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Clean psu_init* files for zcu102-revA
Michal Simek [Mon, 15 Jan 2018 12:37:28 +0000 (13:37 +0100)] 
arm64: zynqmp: Clean psu_init* files for zcu102-revA

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years ago arm64: zynqmp: Clean psu_init* files for zcu102-rev1.0
Michal Simek [Wed, 10 Jan 2018 13:48:53 +0000 (14:48 +0100)] 
 arm64: zynqmp: Clean psu_init* files for zcu102-rev1.0

- Remove common shared functions
- Remove camelcase
- Remove psu_init_gpl.h
- Remove additional whitespaces
- Remove all comments
- Remove all protection functions
- Mark functions as static

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Prepare psu_init rework
Michal Simek [Wed, 10 Jan 2018 08:36:09 +0000 (09:36 +0100)] 
arm64: zynqmp: Prepare psu_init rework

Move generic functions to common location psu_spl_init.c. Function
declarations are added to private header.
These changes are done in connection to the fact that still files from
HDF can be copied over and compilation should pass.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Call psu_init() only when ZYNQMP_PSU_INIT_ENABLED
Michal Simek [Mon, 15 Jan 2018 11:52:59 +0000 (12:52 +0100)] 
arm64: zynqmp: Call psu_init() only when ZYNQMP_PSU_INIT_ENABLED

Remove SPL_BUILD dependency from zynqmp.c and move it to header file.
Use only one symbol for including psu_init.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Remove zcu100-revA/revB board
Michal Simek [Mon, 15 Jan 2018 08:59:54 +0000 (09:59 +0100)] 
arm64: zynqmp: Remove zcu100-revA/revB board

None is going to run this revA board again. RevB/revC/revD are reworked
and different.
There were only some revBs with ES2 which are also no longer used.

If someone wants to run revA or revB please revert this patch.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Enable distro defaults setting
Michal Simek [Wed, 31 Jan 2018 12:12:48 +0000 (13:12 +0100)] 
arm: zynq: Enable distro defaults setting

BOOTCOMMAND is composed with distro_bootcmd but this variable is not
present. Enabling distro defaults setting is fixing it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agodoc: zynq: Describe status of zc770-xm011
Michal Simek [Mon, 15 Jan 2018 06:38:21 +0000 (07:38 +0100)] 
doc: zynq: Describe status of zc770-xm011

zc770-xm011 is also added and supported. Reflect this in README.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agodoc: Update the zynq u-boot status
Ezequiel Garcia [Sat, 13 Jan 2018 20:48:27 +0000 (17:48 -0300)] 
doc: Update the zynq u-boot status

NAND and QSPI devices are now supported, so mark
them as such.

Cc: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Enable SPL_CLK only if SPL is enabled
Ezequiel Garcia [Fri, 12 Jan 2018 15:33:24 +0000 (12:33 -0300)] 
arm: zynq: Enable SPL_CLK only if SPL is enabled

Setup proper dependency in Kconfig for SPL_CLK.
If SPL is not enabled, SPL_CLK shouldn't be selected.

Cc: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: mini_qspi: Enable config option to remove DDR from MMU table
Siva Durga Prasad Paladugu [Fri, 12 Jan 2018 10:05:47 +0000 (15:35 +0530)] 
arm64: zynqmp: mini_qspi: Enable config option to remove DDR from MMU table

This patch enables configs option to remove DDR entry from MMU table
This fixes the issue of u-boot hang when DDR is not present in the
design.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Provide a config to not map DDR region in MMU table
Siva Durga Prasad Paladugu [Fri, 12 Jan 2018 10:05:46 +0000 (15:35 +0530)] 
arm64: zynqmp: Provide a config to not map DDR region in MMU table

DDR less systems are possible for configuration like mini qspi
and making DDR region as normal memory may cause speculative
access which results u-boot hang if DDR is absent. So, this
patch fixes the issue by not making DDR memory region
entry into MMU table.

Future solution is to prepare MMU table per memory node in dts instead
of hard code DDR addresses.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Fix zc770-xm013 spl configuration
Michal Simek [Fri, 12 Jan 2018 13:46:19 +0000 (14:46 +0100)] 
arm: zynq: Fix zc770-xm013 spl configuration

Simplify ps7_init* initialization.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Fix zc770-xm012 spl configuration
Michal Simek [Fri, 12 Jan 2018 13:46:00 +0000 (14:46 +0100)] 
arm: zynq: Fix zc770-xm012 spl configuration

Simplify ps7_init* initialization.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Fix zc770-xm010 spl configuration
Michal Simek [Fri, 12 Jan 2018 13:45:28 +0000 (14:45 +0100)] 
arm: zynq: Fix zc770-xm010 spl configuration

Simplify ps7_init* initialization.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Fix zc770-xm011 spl configuration
Michal Simek [Fri, 12 Jan 2018 13:34:43 +0000 (14:34 +0100)] 
arm: zynq: Fix zc770-xm011 spl configuration

Simplify ps7_init* initialization.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Fix zc770-xm011-x16 spl configuration
Michal Simek [Fri, 12 Jan 2018 13:25:52 +0000 (14:25 +0100)] 
arm: zynq: Fix zc770-xm011-x16 spl configuration

Cleanup origin ps7_init file. The reason for adding full file in
previous patch was that it was straight copy from HDF which is easier
for diffing with new HDF files.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Add support for zc770-xm011-x16 configuration
Michal Simek [Mon, 8 Jan 2018 15:52:49 +0000 (16:52 +0100)] 
arm: zynq: Add support for zc770-xm011-x16 configuration

zc770-xm011 is x8 width configuration. This FMC card has also x16
variant which requires different ps7_init configuration. This patch adds
it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Fix types in ps7_spl_init
Michal Simek [Fri, 12 Jan 2018 13:24:50 +0000 (14:24 +0100)] 
arm: zynq: Fix types in ps7_spl_init

The patch is fixing the following Warning:
arch/arm/mach-zynq/ps7_spl_init.c:133:24: warning: comparison between
signed and unsigned integer expressions [-Wsign-compare]
    while (ioread(addr) < delay)
                        ^

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agonet: phy: xilinx_phy: Read phytype using property xlnx,phy-type
Siva Durga Prasad Paladugu [Fri, 12 Jan 2018 07:14:54 +0000 (12:44 +0530)] 
net: phy: xilinx_phy: Read phytype using property xlnx,phy-type

This patch reads phytype from property "xlnx,phy-type" instead
od simply looking for "phy-type". This is to be inline with
Linux and also fixes the issue of detecting it wrongly in
u-boot

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Enable i2c via Kconfig
Michal Simek [Tue, 16 Jan 2018 13:38:35 +0000 (14:38 +0100)] 
arm64: zynqmp: Enable i2c via Kconfig

Simplify board configurations.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agomtd: spi-nor: Added support for MACRONIX 1Gb 1.8v flash part
Vipul Kumar [Thu, 4 Jan 2018 10:00:41 +0000 (15:30 +0530)] 
mtd: spi-nor: Added support for MACRONIX 1Gb 1.8v flash part

JEDEC ID for mx66u1g45g flash part is added.

Signed-off-by: Vipul Kumar <vipulk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm64: zynqmp: Propagate error value from psu_init()
Michal Simek [Wed, 10 Jan 2018 10:48:48 +0000 (11:48 +0100)] 
arm64: zynqmp: Propagate error value from psu_init()

psu_init() returns int which wasn't declared and checked.
The patch is fixing function declarations and code to handle return
values properly.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Fix pmu register description coding style
Michal Simek [Wed, 16 Nov 2016 08:29:57 +0000 (09:29 +0100)] 
arm: zynq: Fix pmu register description coding style

Drop the space before/after '<' and '>'; and
separate the entries to be a bit more readable.

Reported-by: Julia Cartwright <julia@ni.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
7 years agoarm: zynq: Enable eth and mmc if subsystem is enabled
Michal Simek [Tue, 9 Jan 2018 11:57:54 +0000 (12:57 +0100)] 
arm: zynq: Enable eth and mmc if subsystem is enabled

The patch
"zynq: Kconfig: Dont enable unnecessary configs by default"
(sha1: 1ab628aef402eb3230734dda3e571ca38b92d9d4)
removes some Kconfig entries which

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