]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: zynqmp: Fix tcminit mode param
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Thu, 8 Jun 2023 03:21:51 +0000 (08:51 +0530)
committerMichal Simek <michal.simek@amd.com>
Mon, 12 Jun 2023 11:25:02 +0000 (13:25 +0200)
commit2eed42c2f18c739303b098370019e366aeb64ae6
tree3c75c984322d86fff983a572e176f70daf11967d
parent2f5ad77cfead72b0e5156a7cc527b2f9eabde63e
arm64: zynqmp: Fix tcminit mode param

While invoking "zynqmp tcminit mode" command (which is invalid command)
on U-Boot, it just works. Check the mode param, if it is valid then
only initialize the TCM.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20230608032152.980-2-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
board/xilinx/zynqmp/cmds.c