mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-14 19:26:58 +02:00
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>
16 lines
268 B
C
16 lines
268 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2016 - 2018 Xilinx, Inc.
|
|
*/
|
|
|
|
#include <linux/build_bug.h>
|
|
|
|
enum tcm_mode {
|
|
TCM_LOCK = 0,
|
|
TCM_SPLIT = 1,
|
|
};
|
|
|
|
void initialize_tcm(enum tcm_mode mode);
|
|
void tcm_init(enum tcm_mode mode);
|
|
void mem_map_fill(void);
|