1 /*
2  * Copyright (c) 2022-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 /**
18  * \file host_base_address.h
19  * \brief This file defines the host memory map addresses accessed by RSE.
20  */
21 
22 #ifndef __HOST_BASE_ADDRESS_H__
23 #define __HOST_BASE_ADDRESS_H__
24 
25 /* Host addresses */
26 #define AP_BOOT_SRAM_BASE   0x0UL        /* AP initial boot SRAM base address */
27 #define AP_BOOT_SRAM_SIZE   0x80000U     /* 512KB */
28 
29 #define SCP_BOOT_SRAM_BASE  0x40000000UL /* SCP initial boot SRAM base address */
30 #define SCP_BOOT_SRAM_SIZE  0x80000U     /* 512KB */
31 
32 #define HOST_UART_BASE     0x2A400000UL /* Host UART base address */
33 #define HOST_UART_SIZE     0x2000U      /* 8KB */
34 
35 #define HOST_FLASH0_BASE   0x08000000UL /* Host flash base address */
36 #define HOST_FLASH0_SIZE   0x4000000    /* 64 MiB */
37 
38 #define HOST_FLASH0_PS_OFFSET 0x2000000 /* Host flash offset 32 MiB */
39 #define HOST_FLASH0_PS_BASE (HOST_FLASH0_BASE + HOST_FLASH0_PS_OFFSET)
40 #define HOST_FLASH0_PS_SIZE (0x10000)   /* 64 KB */
41 
42 #endif  /* __HOST_BASE_ADDRESS_H__ */
43