]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: zynqmp: Check 0 node ID
authorMichal Simek <michal.simek@amd.com>
Thu, 1 Jun 2023 10:32:36 +0000 (12:32 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 12 Jun 2023 11:25:01 +0000 (13:25 +0200)
commit999ac2c37ae12df4e889a968056d409c55d38cd7
tree16f6662fc810cc7ef9821081581f0768e42b577c
parent24d32e05cec97db33bfc9c647730e1627982bae7
arm64: zynqmp: Check 0 node ID

ID is decimal not hexadecimal that's why passing hex number all the time
end's up as 0 that's why check it. Node ID 0 is not valid anyway.
Also properly say it in help.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/68c5cd5eade216f3c5aa6eb703ee9f69f14acad1.1685615549.git.michal.simek@amd.com
board/xilinx/zynqmp/cmds.c