/* * Copyright (c) 2022-2024 Arm Limited. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * \file host_base_address.h * \brief This file defines the host memory map addresses accessed by RSE. */ #ifndef __HOST_BASE_ADDRESS_H__ #define __HOST_BASE_ADDRESS_H__ /* Host addresses */ #define AP_BOOT_SRAM_BASE 0x0UL /* AP initial boot SRAM base address */ #define AP_BOOT_SRAM_SIZE 0x80000U /* 512KB */ #define SCP_BOOT_SRAM_BASE 0x40000000UL /* SCP initial boot SRAM base address */ #define SCP_BOOT_SRAM_SIZE 0x80000U /* 512KB */ #define HOST_UART_BASE 0x7FF80000UL /* Host UART base address */ #define HOST_UART_SIZE 0x2000U /* 8KB */ #define HOST_FLASH0_BASE 0x08000000UL /* Host flash base address */ #define HOST_FLASH0_SIZE 0x4000000 /* 64 MiB */ #define AP_TRUSTED_SRAM_BASE 0x4000000UL /* AP trusted SRAM base address */ #define AP_SHARED_RAM_BASE AP_TRUSTED_SRAM_BASE #define PLAT_SCP_AP_SDS_SIZE 0xDC0U /* 3520 bytes */ #define PLAT_SCP_SCMI_S_PAYLOAD_SIZE 0x100U /* 256 bytes */ #define PLAT_RSE_AP_SDS_BASE (AP_SHARED_RAM_BASE \ + PLAT_SCP_AP_SDS_SIZE \ + PLAT_SCP_SCMI_S_PAYLOAD_SIZE) #define PLAT_RSE_AP_SDS_SIZE (64U) #endif /* __HOST_BASE_ADDRESS_H__ */