Unverified Commit e47541ac authored by davidcunado-arm's avatar davidcunado-arm Committed by GitHub
Browse files

Merge pull request #1237 from sandrine-bailleux-arm/sb/spm-timer

SPM: Map devices in the 1st GB
parents aca8a490 c4fa1739
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <arm_config.h> #include <arm_config.h>
#include <arm_def.h> #include <arm_def.h>
#include <arm_spm_def.h> #include <arm_spm_def.h>
#include <arm_xlat_tables.h>
#include <assert.h> #include <assert.h>
#include <cci.h> #include <cci.h>
#include <ccn.h> #include <ccn.h>
...@@ -128,6 +129,9 @@ const mmap_region_t plat_arm_mmap[] = { ...@@ -128,6 +129,9 @@ const mmap_region_t plat_arm_mmap[] = {
#if ENABLE_SPM && defined(IMAGE_BL31) #if ENABLE_SPM && defined(IMAGE_BL31)
const mmap_region_t plat_arm_secure_partition_mmap[] = { const mmap_region_t plat_arm_secure_partition_mmap[] = {
V2M_MAP_IOFPGA_EL0, /* for the UART */ V2M_MAP_IOFPGA_EL0, /* for the UART */
MAP_REGION_FLAT(DEVICE0_BASE, \
DEVICE0_SIZE, \
MT_DEVICE | MT_RO | MT_SECURE | MT_USER),
ARM_SP_IMAGE_MMAP, ARM_SP_IMAGE_MMAP,
ARM_SP_IMAGE_NS_BUF_MMAP, ARM_SP_IMAGE_NS_BUF_MMAP,
ARM_SP_IMAGE_RW_MMAP, ARM_SP_IMAGE_RW_MMAP,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment