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
b3be0c70
Commit
b3be0c70
authored
Jul 10, 2020
by
Sandrine Bailleux
Committed by
TrustedFirmware Code Review
Jul 10, 2020
Browse files
Merge "plat/arm, dts: Update platform device tree for CoT" into integration
parents
4c67cf32
2a0ef943
Changes
3
Show whitespace changes
Inline
Side-by-side
include/plat/arm/common/arm_def.h
View file @
b3be0c70
...
@@ -350,14 +350,15 @@
...
@@ -350,14 +350,15 @@
* and limit. Leave enough space of BL2 meminfo.
* and limit. Leave enough space of BL2 meminfo.
*/
*/
#define ARM_FW_CONFIG_BASE (ARM_BL_RAM_BASE + sizeof(meminfo_t))
#define ARM_FW_CONFIG_BASE (ARM_BL_RAM_BASE + sizeof(meminfo_t))
#define ARM_FW_CONFIG_LIMIT (ARM_BL_RAM_BASE + PAGE_SIZE)
#define ARM_FW_CONFIG_LIMIT ((ARM_BL_RAM_BASE + PAGE_SIZE) \
+ (PAGE_SIZE / 2U))
/*
/*
* Boot parameters passed from BL2 to BL31/BL32 are stored here
* Boot parameters passed from BL2 to BL31/BL32 are stored here
*/
*/
#define ARM_BL2_MEM_DESC_BASE ARM_FW_CONFIG_LIMIT
#define ARM_BL2_MEM_DESC_BASE
(
ARM_FW_CONFIG_LIMIT
)
#define ARM_BL2_MEM_DESC_LIMIT (ARM_BL2_MEM_DESC_BASE
+
\
#define ARM_BL2_MEM_DESC_LIMIT (ARM_BL2_MEM_DESC_BASE \
(PAGE_SIZE / 2U))
+
(PAGE_SIZE / 2U))
/*
/*
* Define limit of firmware configuration memory:
* Define limit of firmware configuration memory:
...
...
plat/arm/board/fvp/fdts/fvp_fw_config.dts
View file @
b3be0c70
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
tb_fw-config {
tb_fw-config {
load-address = <0x0 0x4001300>;
load-address = <0x0 0x4001300>;
max-size = <0x
2
00>;
max-size = <0x
18
00>;
id = <TB_FW_CONFIG_ID>;
id = <TB_FW_CONFIG_ID>;
};
};
...
...
plat/arm/board/fvp/fdts/fvp_tb_fw_config.dts
View file @
b3be0c70
...
@@ -85,4 +85,22 @@
...
@@ -85,4 +85,22 @@
load-address = <0x7100000>;
load-address = <0x7100000>;
};
};
};
};
#if COT_DESC_IN_DTB
#include "cot_descriptors.dtsi"
#endif
};
#if COT_DESC_IN_DTB
#include "../fvp_def.h"
&trusted_nv_counter {
reg = <TFW_NVCTR_BASE>;
};
&non_trusted_nv_counter {
reg = <NTFW_CTR_BASE>;
};
};
#endif
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