Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
ede13422
Unverified
Commit
ede13422
authored
May 15, 2018
by
Dimitris Papastamos
Committed by
GitHub
May 15, 2018
Browse files
Merge pull request #1379 from CJKay/nsram-fix
Fix incorrect NSRAM memory map region for SGI-575
parents
e1040aac
d0223211
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/plat/arm/css/common/css_def.h
View file @
ede13422
...
@@ -22,9 +22,6 @@
...
@@ -22,9 +22,6 @@
#define CSS_DEVICE_BASE 0x20000000
#define CSS_DEVICE_BASE 0x20000000
#define CSS_DEVICE_SIZE 0x0e000000
#define CSS_DEVICE_SIZE 0x0e000000
#define NSRAM_BASE 0x2e000000
#define NSRAM_SIZE 0x00008000
/* System Security Control Registers */
/* System Security Control Registers */
#define SSC_REG_BASE 0x2a420000
#define SSC_REG_BASE 0x2a420000
#define SSC_GPRETN (SSC_REG_BASE + 0x030)
#define SSC_GPRETN (SSC_REG_BASE + 0x030)
...
@@ -102,7 +99,7 @@
...
@@ -102,7 +99,7 @@
#define CSS_MAP_NSRAM MAP_REGION_FLAT( \
#define CSS_MAP_NSRAM MAP_REGION_FLAT( \
NSRAM_BASE, \
NSRAM_BASE, \
NSRAM_SIZE, \
NSRAM_SIZE, \
MT_DEVICE | MT_RW | MT_S
ECURE
)
MT_DEVICE | MT_RW | MT_
N
S)
/* Platform ID address */
/* Platform ID address */
#define SSC_VERSION_OFFSET 0x040
#define SSC_VERSION_OFFSET 0x040
...
...
plat/arm/board/juno/include/platform_def.h
View file @
ede13422
...
@@ -56,6 +56,9 @@
...
@@ -56,6 +56,9 @@
/* Use the bypass address */
/* Use the bypass address */
#define PLAT_ARM_TRUSTED_ROM_BASE V2M_FLASH0_BASE + BL1_ROM_BYPASS_OFFSET
#define PLAT_ARM_TRUSTED_ROM_BASE V2M_FLASH0_BASE + BL1_ROM_BYPASS_OFFSET
#define NSRAM_BASE 0x2e000000
#define NSRAM_SIZE 0x00008000
/* 32KB */
/* virtual address used by dynamic mem_protect for chunk_base */
/* virtual address used by dynamic mem_protect for chunk_base */
#define PLAT_ARM_MEM_PROTEC_VA_FRAME 0xc0000000
#define PLAT_ARM_MEM_PROTEC_VA_FRAME 0xc0000000
...
...
plat/arm/css/sgi/include/platform_def.h
View file @
ede13422
...
@@ -52,6 +52,9 @@
...
@@ -52,6 +52,9 @@
#define PLAT_ARM_TRUSTED_ROM_BASE 0x0
#define PLAT_ARM_TRUSTED_ROM_BASE 0x0
#define PLAT_ARM_TRUSTED_ROM_SIZE 0x00080000
/* 512KB */
#define PLAT_ARM_TRUSTED_ROM_SIZE 0x00080000
/* 512KB */
#define PLAT_ARM_NSRAM_BASE 0x06000000
#define PLAT_ARM_NSRAM_SIZE 0x00080000
/* 512KB */
#define PLAT_MAX_PWR_LVL 1
#define PLAT_MAX_PWR_LVL 1
#define PLAT_ARM_G1S_IRQS ARM_G1S_IRQS, \
#define PLAT_ARM_G1S_IRQS ARM_G1S_IRQS, \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment