arm64: zynqmp: versal: Consistently use enum tcm_mode
authorMarek Vasut <marex@denx.de>
Thu, 6 Feb 2025 21:29:36 +0000 (22:29 +0100)
committerMichal Simek <michal.simek@amd.com>
Wed, 16 Apr 2025 11:42:06 +0000 (13:42 +0200)
commit931d96b594e029ecde46475ca355da2efb3035b1
tree2ebf3ecafba14bfd519c99db9ef77b3a07127c6f
parent3ecf1b78d92469f3074ecf8cbb1c19455a878ea4
arm64: zynqmp: versal: Consistently use enum tcm_mode

Turn anonymous enum TCM_LOCK/TCM_SPLIT into enum tcm_mode {}, set
TCM_LOCK as 0 and TCM_SPLIT as 1 to match LOCK and SPLIT macros in
mach-zynqmp/mp.c, and unify all the functions and their parameters
on this one single enum tcm_mode {} instead of a mix of bool and u8.
No functional change intended.

Signed-off-by: Marek Vasut <marex@denx.de>
Tested-by: Love Kumar <love.kumar@amd.com>
Link: https://lore.kernel.org/r/20250206213039.42756-1-marex@denx.de
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm/mach-versal/include/mach/sys_proto.h
arch/arm/mach-versal/mp.c
arch/arm/mach-zynqmp/cpu.c
arch/arm/mach-zynqmp/include/mach/sys_proto.h
arch/arm/mach-zynqmp/mp.c
arch/arm/mach-zynqmp/zynqmp.c