Michal Simek | 4b066a1 | 2018-08-22 14:55:27 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright 2016 - 2018 Xilinx, Inc. |
| 4 | */ |
| 5 | |
Michal Simek | 141cbfd | 2022-08-25 06:59:02 -0600 | [diff] [blame] | 6 | #include <linux/build_bug.h> |
| 7 | |
Siva Durga Prasad Paladugu | 775aa95 | 2019-01-08 21:47:26 +0530 | [diff] [blame] | 8 | enum { |
| 9 | TCM_LOCK, |
| 10 | TCM_SPLIT, |
| 11 | }; |
| 12 | |
Algapally Santosh Sagar | f68ab7b | 2023-06-09 03:05:30 -0600 | [diff] [blame] | 13 | void initialize_tcm(bool mode); |
Siva Durga Prasad Paladugu | 775aa95 | 2019-01-08 21:47:26 +0530 | [diff] [blame] | 14 | void tcm_init(u8 mode); |
Michal Simek | 21eb5cc | 2019-04-29 09:39:09 -0700 | [diff] [blame] | 15 | void mem_map_fill(void); |