| df1cd46f | 30-Jul-2017 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
arm64: zynqmp: avoid out of buffer access
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_V
arm64: zynqmp: avoid out of buffer access
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>
show more ...
|
| 74ba69db | 25-Jul-2017 |
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> |
arm64: zynqmp: Make chip_id routine to handle based on el.
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
arm64: zynqmp: Make chip_id routine to handle based on el.
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>
show more ...
|
| f52bf5a3 | 25-Jul-2017 |
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> |
arm64: zynqmp: Make chip_id a global routine()
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@
arm64: zynqmp: Make chip_id a global routine()
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>
show more ...
|
| 4b5b0fcd | 21-Feb-2017 |
Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> |
arm64: zynqmp: Dont write to system timestamp generator
Remove incorrect code of writing to system timestamp counter registers. This register writes does nothing and can be removed.
Signed-off-by:
arm64: zynqmp: Dont write to system timestamp generator
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>
show more ...
|
| 90a35db4 | 12-Jul-2017 |
Michal Simek <michal.simek@xilinx.com> |
arm64: zynqmp: Do not setup time if already setup
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.sime
arm64: zynqmp: Do not setup time if already setup
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>
show more ...
|
| b6f4048b | 14-Jul-2016 |
Michal Simek <michal.simek@xilinx.com> |
ARM64: zynqmp: Ignore warnings from autogenerated files
Autogenerated files contain casting issues and missing function declaration and even usleep implementation. Suppress them for now till these f
ARM64: zynqmp: Ignore warnings from autogenerated files
Autogenerated files contain casting issues and missing function declaration and even usleep implementation. Suppress them for now till these files are fixed.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
show more ...
|
| 47359a03 | 25-Oct-2016 |
Michal Simek <michal.simek@xilinx.com> |
ARM64: zynqmp: Fix secondary bootmode enabling
Do not setup use_alt bit which copy alternative boot mode to boot mode. The reason is that this bit is cleared after POR but not after any software res
ARM64: zynqmp: Fix secondary bootmode enabling
Do not setup use_alt bit which copy alternative boot mode to boot mode. The reason is that this bit is cleared after POR but not after any software reset which will cause that after SW reset bootrom will look for different boot image.
This patch setups alternative boot mode selection (purely SW handling) and extends code to read this alternative boot mode first and use it if it is setup.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
show more ...
|