| 1 |
/* |
| 2 |
* Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved. |
| 3 |
* Copyright (c) 2020, NVIDIA Corporation. All rights reserved. |
| 4 |
* |
| 5 |
* SPDX-License-Identifier: BSD-3-Clause |
| 6 |
*/ |
| 7 |
|
| 8 |
#ifndef MEMCTRL_H |
| 9 |
#define MEMCTRL_H |
| 10 |
|
| 11 |
void tegra_memctrl_setup(void); |
| 12 |
void tegra_memctrl_restore_settings(void); |
| 13 |
void tegra_memctrl_tzdram_setup(uint64_t phys_base, uint32_t size_in_bytes); |
| 14 |
void tegra_memctrl_videomem_setup(uint64_t phys_base, uint32_t size_in_bytes); |
| 15 |
void tegra_memctrl_disable_ahb_redirection(void); |
| 16 |
void tegra_memctrl_clear_pending_interrupts(void); |
| 17 |
|
| 18 |
#endif /* MEMCTRL_H */ |