1 /* 2 * Copyright (c) 2019-2023 Arm Limited. All rights reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef __TARGET_CFG_H__ 18 #define __TARGET_CFG_H__ 19 20 #include <stdint.h> 21 22 #define TFM_DRIVER_STDIO Driver_USART0 23 #define NS_DRIVER_STDIO Driver_USART0 24 25 /** 26 * \brief Defines the word offsets of Slave Peripheral Protection Controller 27 * Registers 28 */ 29 typedef enum { 30 PPC_SP_DO_NOT_CONFIGURE = -1, 31 PPC_SP_AHB_PPC0 = 0, 32 PPC_SP_AHB_PPC_EXP0 = 4, 33 PPC_SP_APB_PPC0 = 8, 34 PPC_SP_APB_PPC1 = 9, 35 PPC_SP_APB_PPC_EXP0 = 12, 36 PPC_SP_APB_PPC_EXP1 = 13, 37 PPC_SP_APB_PPC_EXP2 = 14, 38 } ppc_bank_t; 39 40 #endif /* __TARGET_CFG_H__ */ 41