]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwbimage: Add missing check for maximal value for DATA_DELAY
authorPali Rohár <pali@kernel.org>
Wed, 12 Jan 2022 17:20:48 +0000 (18:20 +0100)
committerStefan Roese <sr@denx.de>
Fri, 14 Jan 2022 10:39:16 +0000 (11:39 +0100)
commitfdcae2615639454f6c2b7c787de49e74e8746d07
tree39ce906132cc03428b6ee05dd56b17382f78e234
parent18d85d6e8ad766de9dd35c4d5c0d984233fb9b21
tools: kwbimage: Add missing check for maximal value for DATA_DELAY

Data delay is stored as 8-bit number in kwbimage structure. Ensure the
given value is at most 255.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwbimage.c