blob: 17427cbec959f20d78e570fde0ba46b4a06a7930 [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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef MEMCTRL_H
8#define MEMCTRL_H
Varun Wadekarb316e242015-05-19 16:48:04 +05309
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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000017#endif /* MEMCTRL_H */