Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
953dc541
Commit
953dc541
authored
5 years ago
by
Alexei Fedorov
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "Use the proper size for tb_fw_cfg_dtb" into integration
parents
9be5ca7a
6c77dfc5
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plat/arm/common/arm_dyn_cfg.c
+3
-5
plat/arm/common/arm_dyn_cfg.c
with
3 additions
and
5 deletions
+3
-5
plat/arm/common/arm_dyn_cfg.c
View file @
953dc541
/*
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2018
-2019
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <assert.h>
#include <string.h>
#include <libfdt.h>
#include <platform_def.h>
...
...
@@ -21,8 +22,6 @@
/* Variable to store the address to TB_FW_CONFIG passed from BL1 */
static
void
*
tb_fw_cfg_dtb
;
static
size_t
tb_fw_cfg_dtb_size
;
#if TRUSTED_BOARD_BOOT
...
...
@@ -110,7 +109,7 @@ void arm_bl1_set_mbedtls_heap(void)
* without the heap info.
*/
flush_dcache_range
((
uintptr_t
)
tb_fw_cfg_dtb
,
tb_fw_cfg_dtb
_size
);
fdt_totalsize
(
tb_fw_cfg_dtb
)
);
}
}
...
...
@@ -146,7 +145,6 @@ void arm_load_tb_fw_config(void)
/* At this point we know that a DTB is indeed available */
config_base
=
arm_tb_fw_info
.
image_info
.
image_base
;
tb_fw_cfg_dtb
=
(
void
*
)
config_base
;
tb_fw_cfg_dtb_size
=
(
size_t
)
arm_tb_fw_info
.
image_info
.
image_max_size
;
/* The BL2 ep_info arg0 is modified to point to TB_FW_CONFIG */
desc
=
bl1_plat_get_image_desc
(
BL2_IMAGE_ID
);
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help