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
8b29a0f6
Commit
8b29a0f6
authored
Feb 26, 2020
by
Olivier Deprez
Committed by
TrustedFirmware Code Review
Feb 26, 2020
Browse files
Merge "FVP: Fix incorrect GIC mapping" into integration
parents
c335ad48
b3c431f3
Changes
1
Show whitespace changes
Inline
Side-by-side
plat/arm/board/fvp/fvp_def.h
View file @
8b29a0f6
...
@@ -52,8 +52,10 @@
...
@@ -52,8 +52,10 @@
#define DEVICE1_BASE UL(0x2e000000)
#define DEVICE1_BASE UL(0x2e000000)
#define DEVICE1_SIZE UL(0x1A00000)
#define DEVICE1_SIZE UL(0x1A00000)
#else
#else
#define DEVICE1_BASE UL(0x2f000000)
/* GICv2 and GICv3 mapping: GICD + CORE_COUNT * 128KB */
#define DEVICE1_SIZE UL(0x200000)
#define DEVICE1_BASE BASE_GICD_BASE
#define DEVICE1_SIZE ((BASE_GICR_BASE - BASE_GICD_BASE) + \
(PLATFORM_CORE_COUNT * 0x20000))
#define NSRAM_BASE UL(0x2e000000)
#define NSRAM_BASE UL(0x2e000000)
#define NSRAM_SIZE UL(0x10000)
#define NSRAM_SIZE UL(0x10000)
#endif
#endif
...
@@ -110,7 +112,7 @@
...
@@ -110,7 +112,7 @@
#define FVP_SP810_CTRL_TIM3_OV BIT_32(22)
#define FVP_SP810_CTRL_TIM3_OV BIT_32(22)
/*******************************************************************************
/*******************************************************************************
* GIC
-400
& interrupt handling related constants
* GIC & interrupt handling related constants
******************************************************************************/
******************************************************************************/
/* VE compatible GIC memory map */
/* VE compatible GIC memory map */
#define VE_GICD_BASE UL(0x2c001000)
#define VE_GICD_BASE UL(0x2c001000)
...
@@ -128,7 +130,6 @@
...
@@ -128,7 +130,6 @@
#define FVP_IRQ_TZ_WDOG 56
#define FVP_IRQ_TZ_WDOG 56
#define FVP_IRQ_SEC_SYS_TIMER 57
#define FVP_IRQ_SEC_SYS_TIMER 57
/*******************************************************************************
/*******************************************************************************
* TrustZone address space controller related constants
* TrustZone address space controller related constants
******************************************************************************/
******************************************************************************/
...
...
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