/*1* Copyright (c) 2018 naehrwert2*3* This program is free software; you can redistribute it and/or modify it4* under the terms and conditions of the GNU General Public License,5* version 2, as published by the Free Software Foundation.6*7* This program is distributed in the hope it will be useful, but WITHOUT8* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or9* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for10* more details.11*12* You should have received a copy of the GNU General Public License13* along with this program. If not, see <http://www.gnu.org/licenses/>.14*/1516#ifndef _MC_H_17#define _MC_H_1819#include <utils/types.h>20#include <mem/mc_t210.h>2122void mc_config_tsec_carveout(u32 bom, u32 size1mb, bool lock);23void mc_config_carveout_hos();24void mc_enable_ahb_redirect(u32 offset);25void mc_disable_ahb_redirect();26bool mc_client_has_access(void *address);27void mc_enable();2829#endif303132