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
f7ed4ab0
Unverified
Commit
f7ed4ab0
authored
Dec 06, 2018
by
Soby Mathew
Committed by
GitHub
Dec 06, 2018
Browse files
Merge pull request #1713 from chandnich/nt-fw-config
plat/arm/sgi: Use NT_FW_CONFIG instead of HW_CONFIG
parents
c120613f
77ab969a
Changes
7
Hide whitespace changes
Inline
Side-by-side
plat/arm/board/sgi575/fdts/sgi575.dts
→
plat/arm/board/sgi575/fdts/sgi575
_nt_fw_config
.dts
View file @
f7ed4ab0
File moved
plat/arm/board/sgi575/fdts/sgi575_tb_fw_config.dts
View file @
f7ed4ab0
...
...
@@ -9,8 +9,8 @@
/ {
/* Platform Config */
compatible = "arm,tb_fw";
h
w_config_addr = <0x0 0xFEF00000>;
h
w_config_max_size = <0x0100000>;
nt_f
w_config_addr = <0x0 0xFEF00000>;
nt_f
w_config_max_size = <0x0100000>;
/*
* The following two entries are placeholders for Mbed TLS
* heap information. The default values don't matter since
...
...
plat/arm/board/sgi575/platform.mk
View file @
f7ed4ab0
...
...
@@ -33,8 +33,8 @@ TB_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_tb_fw_config.dtb
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config))
FDT_SOURCES
+=
${SGI575_BASE}
/fdts/
${PLAT}
.dts
H
W_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
.dtb
FDT_SOURCES
+=
${SGI575_BASE}
/fdts/
${PLAT}
_nt_fw_config
.dts
NT_F
W_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_nt_fw_config
.dtb
# Add the
H
W_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${
H
W_CONFIG},--
h
w-config))
# Add the
NT_F
W_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${
NT_F
W_CONFIG},--
nt-f
w-config))
plat/arm/board/sgiclarka/fdts/sgiclarka.dts
→
plat/arm/board/sgiclarka/fdts/sgiclarka
_nt_fw_config
.dts
View file @
f7ed4ab0
File moved
plat/arm/board/sgiclarka/fdts/sgiclarka_tb_fw_config.dts
View file @
f7ed4ab0
...
...
@@ -9,8 +9,8 @@
/ {
/* Platform Config */
compatible = "arm,tb_fw";
h
w_config_addr = <0x0 0xFEF00000>;
h
w_config_max_size = <0x0100000>;
nt_f
w_config_addr = <0x0 0xFEF00000>;
nt_f
w_config_max_size = <0x0100000>;
/*
* The following two entries are placeholders for Mbed TLS
* heap information. The default values don't matter since
...
...
plat/arm/board/sgiclarka/platform.mk
View file @
f7ed4ab0
...
...
@@ -33,10 +33,10 @@ TB_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_tb_fw_config.dtb
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config))
FDT_SOURCES
+=
${SGICLARKA_BASE}
/fdts/
${PLAT}
.dts
H
W_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
.dtb
FDT_SOURCES
+=
${SGICLARKA_BASE}
/fdts/
${PLAT}
_nt_fw_config
.dts
NT_F
W_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_nt_fw_config
.dtb
# Add the
H
W_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${
H
W_CONFIG},--
h
w-config))
# Add the
NT_F
W_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${
NT_F
W_CONFIG},--
nt-f
w-config))
override CTX_INCLUDE_AARCH32_REGS
:
= 0
plat/arm/css/sgi/sgi_image_load.c
View file @
f7ed4ab0
...
...
@@ -25,9 +25,9 @@ static int plat_sgi_append_config_node(void)
int
nodeoffset
,
err
;
unsigned
int
platid
=
0
,
platcfg
=
0
;
mem_params
=
get_bl_mem_params_node
(
H
W_CONFIG_ID
);
mem_params
=
get_bl_mem_params_node
(
NT_F
W_CONFIG_ID
);
if
(
mem_params
==
NULL
)
{
ERROR
(
"
H
W CONFIG base address is NULL"
);
ERROR
(
"
NT_F
W CONFIG base address is NULL"
);
return
-
1
;
}
...
...
@@ -35,7 +35,7 @@ static int plat_sgi_append_config_node(void)
/* Check the validity of the fdt */
if
(
fdt_check_header
(
fdt
)
!=
0
)
{
ERROR
(
"Invalid
H
W_CONFIG DTB passed
\n
"
);
ERROR
(
"Invalid
NT_F
W_CONFIG DTB passed
\n
"
);
return
-
1
;
}
...
...
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