blob: 8e5712e0c9e00b945a27eb769b709176eadeafa5 [file] [log] [blame]
Michal Simek4b066a12018-08-22 14:55:27 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2016 - 2018 Xilinx, Inc.
4 */
5
Michal Simek141cbfd2022-08-25 06:59:02 -06006#include <linux/build_bug.h>
7
Siva Durga Prasad Paladugu775aa952019-01-08 21:47:26 +05308enum {
9 TCM_LOCK,
10 TCM_SPLIT,
11};
12
13void tcm_init(u8 mode);
Michal Simek21eb5cc2019-04-29 09:39:09 -070014void mem_map_fill(void);
Michal Simek141cbfd2022-08-25 06:59:02 -060015
16static inline int zynqmp_mmio_write(const u32 address, const u32 mask, const u32 value)
17{
18 BUILD_BUG();
19 return -EINVAL;
20}