u-boot/arch/arm/cpu/armv8/zynqmp
Michal Simek 20b016a336 common: Fix cpu nr type which is always unsigned type
cpu_cmd() is reading cpu number via simple_strtoul() which is always
unsigned type.
Platform code implementations are not expecting that nr can be negative
and there is not checking in the code for that too.

This patch is using u32 type for cpu number to make sure that platform
code get proper value range.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2018-06-19 07:31:45 -04:00
..
clk.c arm64: zynqmp: Get rid of emulation platforms 2018-05-31 13:50:39 +02:00
cpu.c arm64: zynqmp: Check return value in zynqmp_mmio_rawwrite() 2018-06-15 08:54:05 +02:00
handoff.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig mmc: Added Kconfig support for CONFIG_ZYNQ_SDHCI_MAX_FREQ 2018-03-01 16:44:10 +01:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mp.c common: Fix cpu nr type which is always unsigned type 2018-06-19 07:31:45 -04:00
psu_spl_init.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00