- Mar 23, 2018
-
-
Michal Simek authored
Watchdog is only enabled in full u-boot. Adoption for SPL should be also done because that's the right place where watchdog should be enabled. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Nitin Jain authored
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>
-
- Jan 30, 2018
-
-
Michal Simek authored
Updating year in zynq files. Also add missing Copyright to board.c. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Add low level initialization for zcu102-rev1.0. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
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>
-
Michal Simek authored
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>
-
Michal Simek authored
Remove functions which are no longer renerated by PCW. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
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>
-
Siva Durga Prasad Paladugu authored
Add check if boot_targets exists in environment and then generate new_targets env accordingly. Performing strlen on null address causes it to fail with exception if isolation is enabled with DDR address zero as secure. It works with out isolation enabled as zero is valid address but it may lead to junk values in boot_targets. This patch fixes the issue by checking return value of env_get so that it generate boot_targets properly. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
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>
-
Michal Simek authored
Simplify ps7_init* initialization. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Simplify ps7_init* initialization. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Simplify ps7_init* initialization. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Simplify ps7_init* initialization. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Dec 18, 2017
-
-
Siva Durga Prasad Paladugu authored
Access the timestamp ref ctrl register only if runinng at el3 level otherwise just return. This change fixes the issue when CRL APB is marked as secure and accessing when not in el3 causes exception. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Dec 14, 2017
-
-
Michal Simek authored
Remove silicon prefix. Automotive grade devices are using xazu instead of xczu prefix. The patch "fpga: xilinx: Check for substring in device ID validation" (sha1: f7213267) enables this functionality for zynq devices that only substrings are checked. Unfortunately there is no way how to detect device grade that's why this change is reasonable. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Setup bootmode variable based on bootmode selection. This is helping with setting up boot method. Also setup sdbootdevice. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
Dont read boot mode register directly read it using zynqmp_mmio_read(). Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Nov 29, 2017
-
-
Michal Simek authored
After some generic cleanup adding ps7_init* to repository is not big pain now. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Show information about silicon in bootlog. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Use generic implementation. It will also reduce config data size for converted boards. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
SPL is not calling this code that's why it is dead code and can be removed. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Nov 28, 2017
-
-
Michal Simek authored
This ID is available on zc1254. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Version string has unused fields 31:20 which can be used for exporting 9 bits from efuse IPDISABLE regs to recognize eg/cg/ev devices. These efuse bits are setup for certain devices. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Warning is reported by checkpatch. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Add configuration files/dtses for mini u-boot configurations which runs out of OCM. ram top is calculated from 0 that's why +#define CONFIG_SYS_SDRAM_BASE 0xfffc0000 +#define CONFIG_SYS_SDRAM_SIZE 0x40000 was hardcoded. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Michal Simek authored
There is no reason not to return return value from above function. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Aug 16, 2017
-
-
Simon Glass authored
We are now using an env_ prefix for environment functions. Rename these two functions for consistency. Also add function comments in common.h. Quite a few places use getenv() in a condition context, provoking a warning from checkpatch. These are fixed up in this patch also. Suggested-by:
Wolfgang Denk <wd@denx.de> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We are now using an env_ prefix for environment functions. Rename setenv() for consistency. Also add function comments in common.h. Suggested-by:
Wolfgang Denk <wd@denx.de> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Aug 02, 2017
-
-
Heinrich Schuchardt authored
strncat(a, b, c) appends a maximum of c characters plus the 0 byte to a. In board_init we first write 4 characters plus 0 byte to version. So only ZYNQMP_VERSION_SIZE - 5 additional characters fit into version. The problem was indicated by cppcheck. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
Modify chip_id() routine such that to handle based on the current el. Also make it available even if FPGA is not enabled in system such it can be used always. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
This patch makes chip_id() as a global routine so that it can be used in other places as required. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
This patch modifies the chip_id routine to get either idcode or silicon version based on the argument received. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Siva Durga Prasad Paladugu authored
Remove incorrect code of writing to system timestamp counter registers. This register writes does nothing and can be removed. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Newer psu_init_gpl.c/h contain clock setup. Detect if reference clock is active. If yes, skip timer setup. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
There is a need to include psu_init also in mini u-boot configuration that's why handle psu_init via Kconfig property. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
For some mini platforms there could be a need to include psu_init. That's why move it to board file instead of spl only file. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Jul 03, 2017
-
-
Heiko Schocher authored
There was for long time no activity in the 4xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 4xx, so remove it. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
- Jun 20, 2017
-
-
Michal Simek authored
If PMUFW version is not v0.3 then panic. ZynqMP switch to CCF based clock driver which requires PMUFW to be present at certain version. This patch ensure that you use correct and tested PMUFW binary. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
psu_init* contain sleep.h header which is not present in u-boot. Instead of keep comment sleep.h in psu_init* it is easier to add empty file which is included. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-