u-boot/arch/arm/mach-versal/include/mach/sys_proto.h
Algapally Santosh Sagar cc24fd7859 xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write
Add missing prototype to fix the sparse warning, warning: no
previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes].

Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230301103334.1455-2-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
2023-03-09 13:15:00 +01:00

16 lines
275 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2016 - 2018 Xilinx, Inc.
*/
#include <linux/build_bug.h>
enum {
TCM_LOCK,
TCM_SPLIT,
};
void tcm_init(u8 mode);
void mem_map_fill(void);
int zynqmp_mmio_write(const u32 address, const u32 mask, const u32 value);