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
7835049c
Commit
7835049c
authored
5 years ago
by
Sandrine Bailleux
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "rockchip: Prevent macro expansion in paths" into integration
parents
186acdd9
39a97dce
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
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
plat/rockchip/rk3399/drivers/dp/cdn_dp.c
+1
-1
plat/rockchip/rk3399/drivers/dp/cdn_dp.c
plat/rockchip/rk3399/drivers/pmu/pmu_fw.c
+11
-13
plat/rockchip/rk3399/drivers/pmu/pmu_fw.c
plat/rockchip/rk3399/platform.mk
+3
-3
plat/rockchip/rk3399/platform.mk
with
15 additions
and
17 deletions
+15
-17
plat/rockchip/rk3399/drivers/dp/cdn_dp.c
View file @
7835049c
...
...
@@ -18,7 +18,7 @@ __asm__(
".global hdcp_handler
\n
"
".balign 4
\n
"
"hdcp_handler:
\n
"
".incbin
\"
"
__XSTRING
(
HDCPFW
)
"
\"\n
"
".incbin
\"
"
HDCPFW
"
\"\n
"
".type hdcp_handler, %function
\n
"
".size hdcp_handler, .- hdcp_handler
\n
"
".popsection
\n
"
...
...
This diff is collapsed.
Click to expand it.
plat/rockchip/rk3399/drivers/pmu/pmu_fw.c
View file @
7835049c
...
...
@@ -5,20 +5,18 @@
*/
/* convoluted way to make sure that the define is pasted just the right way */
#define
_
INCBIN(file, sym, sec) \
#define INCBIN(file, sym, sec) \
__asm__( \
".section "
#
sec "\n" \
".global "
#
sym "\n" \
".type "
#
sym ", %object\n" \
".section " sec "\n" \
".global " sym "\n" \
".type " sym ", %object\n" \
".align 4\n" \
#
sym ":\n" \
".incbin \""
#
file "\"\n" \
".size "
#
sym ", .-"
#
sym "\n" \
".global "
#
sym "_end\n" \
#
sym "_end:\n" \
sym ":\n" \
".incbin \"" file "\"\n" \
".size " sym ", .-" sym "\n" \
".global " sym "_end\n" \
sym "_end:\n" \
)
#define INCBIN(file, sym, sec) _INCBIN(file, sym, sec)
INCBIN
(
RK3399M0FW
,
rk3399m0_bin
,
".sram.incbin"
);
INCBIN
(
RK3399M0PMUFW
,
rk3399m0pmu_bin
,
".pmusram.incbin"
);
INCBIN
(
RK3399M0FW
,
"rk3399m0_bin"
,
".sram.incbin"
);
INCBIN
(
RK3399M0PMUFW
,
"rk3399m0pmu_bin"
,
".pmusram.incbin"
);
This diff is collapsed.
Click to expand it.
plat/rockchip/rk3399/platform.mk
View file @
7835049c
...
...
@@ -82,13 +82,13 @@ PLAT_M0 := ${PLAT}m0
BUILD_M0
:=
${BUILD_PLAT}
/m0
RK3399M0FW
=
${BUILD_M0}
/
${PLAT_M0}
.bin
$(eval
$(call
add_define,RK3399M0FW))
$(eval
$(call
add_define
_val
,RK3399M0FW
,\"$(RK3399M0FW)\"
))
RK3399M0PMUFW
=
${BUILD_M0}
/
${PLAT_M0}
pmu.bin
$(eval
$(call
add_define,RK3399M0PMUFW))
$(eval
$(call
add_define
_val
,RK3399M0PMUFW
,\"$(RK3399M0PMUFW)\"
))
HDCPFW
=
${RK_PLAT_SOC}
/drivers/dp/hdcp.bin
$(eval
$(call
add_define,HDCPFW))
$(eval
$(call
add_define
_val
,HDCPFW
,\"$(HDCPFW)\"
))
# CCACHE_EXTRAFILES is needed because ccache doesn't handle .incbin
export
CCACHE_EXTRAFILES
...
...
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