2020-06-14 14:45:45 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 naehrwert
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU General Public License,
|
|
|
|
* version 2, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2018-05-01 06:15:48 +01:00
|
|
|
#ifndef _MC_H_
|
|
|
|
#define _MC_H_
|
|
|
|
|
2020-06-14 14:45:45 +01:00
|
|
|
#include <utils/types.h>
|
|
|
|
#include <mem/mc_t210.h>
|
2018-05-01 06:15:48 +01:00
|
|
|
|
2018-08-13 10:12:53 +01:00
|
|
|
void mc_config_tsec_carveout(u32 bom, u32 size1mb, bool lock);
|
2018-05-01 06:15:48 +01:00
|
|
|
void mc_config_carveout();
|
2018-08-05 12:40:32 +01:00
|
|
|
void mc_config_carveout_finalize();
|
2021-08-28 14:51:16 +01:00
|
|
|
void mc_enable_ahb_redirect(bool full_aperture);
|
2018-05-01 06:15:48 +01:00
|
|
|
void mc_disable_ahb_redirect();
|
|
|
|
void mc_enable();
|
|
|
|
|
|
|
|
#endif
|