u-boot/board/xilinx
Ashok Reddy Soma 90e8f2db60 fru: ops: Return error from checksum if data is all zero's
fru_checksum function is simply adding all the bytes and returning the
sum. If the data passed to this function is all zero's then it will
return 0, and the functions calling this api will assume that checksum
is correct. Ideally this is not good. Fix this by returning error if all
the data is 0's.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/ac0366fe55c60a818a3f9ed33d96826c817d5520.1645624855.git.michal.simek@xilinx.com
2022-03-07 08:48:21 +01:00
..
bootscripts xilinx: Add sd boot command script for reference 2019-10-08 09:11:13 +02:00
common fru: ops: Return error from checksum if data is all zero's 2022-03-07 08:48:21 +01:00
microblaze-generic microblaze: exception: migrate MICROBLAZE_V5 to Kconfig 2022-02-15 13:11:43 +01:00
versal versal: Return ENVL_NOWHERE instead of ENVL_UNKNOWN 2022-01-05 11:16:21 +01:00
zynq ARM: zynq: Fix debug uart initialization 2022-02-21 13:20:24 +01:00
zynqmp arm64: zynqmp: Fix debug uart initialization 2022-02-21 13:20:29 +01:00
zynqmp_r5 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
Kconfig xilinx: Kconfig: add XILINX_OF_BOARD_DTB_ADDR default value for microblaze 2022-01-05 10:22:03 +01:00