blob: 8413299d8ad5e66c5862d11ae2ba2707827087b1 [file] [log] [blame]
Varun Wadekarb316e242015-05-19 16:48:04 +05301/*
Varun Wadekarc92050b2017-03-29 14:57:29 -07002 * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
Varun Wadekarb316e242015-05-19 16:48:04 +05303 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Varun Wadekarb316e242015-05-19 16:48:04 +05305 */
6
7#ifndef __MEMCTRL_H__
8#define __MEMCTRL_H__
9
Varun Wadekarb316e242015-05-19 16:48:04 +053010void tegra_memctrl_setup(void);
Varun Wadekar6eec6d62016-03-03 13:28:10 -080011void tegra_memctrl_restore_settings(void);
Varun Wadekarb316e242015-05-19 16:48:04 +053012void tegra_memctrl_tzdram_setup(uint64_t phys_base, uint32_t size_in_bytes);
Varun Wadekar0dc91812015-12-30 15:06:41 -080013void tegra_memctrl_tzram_setup(uint64_t phys_base, uint32_t size_in_bytes);
Varun Wadekar7a269e22015-06-10 14:04:32 +053014void tegra_memctrl_videomem_setup(uint64_t phys_base, uint32_t size_in_bytes);
Varun Wadekarc92050b2017-03-29 14:57:29 -070015void tegra_memctrl_disable_ahb_redirection(void);
Varun Wadekarb316e242015-05-19 16:48:04 +053016
17#endif /* __MEMCTRL_H__ */