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
72c1dc14
Commit
72c1dc14
authored
9 years ago
by
danh-arm
Browse files
Options
Download
Plain Diff
Merge pull request #589 from soby-mathew/sm/fix_rk_build_err
Fix build error in Rockchip platform
parents
70fafab3
000bc457
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
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
v1.5
v1.5-rc3
v1.5-rc2
v1.5-rc1
v1.5-rc0
v1.4
v1.4-rc0
v1.3
v1.3_rc2
v1.3_rc1
v1.3-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
plat/rockchip/rk3368/drivers/pmu/pmu.c
+3
-3
plat/rockchip/rk3368/drivers/pmu/pmu.c
with
3 additions
and
3 deletions
+3
-3
plat/rockchip/rk3368/drivers/pmu/pmu.c
View file @
72c1dc14
...
...
@@ -264,7 +264,7 @@ void plat_rockchip_pmusram_prepare(void)
{
uint32_t
*
sram_dst
,
*
sram_src
;
size_t
sram_size
=
2
;
uint32_t
code_size
,
data_size
;
uint32_t
code_size
;
/* pmu sram code and data prepare */
sram_dst
=
(
uint32_t
*
)
PMUSRAM_BASE
;
...
...
@@ -282,10 +282,10 @@ void plat_rockchip_pmusram_prepare(void)
/* ddr data */
sram_dst
+=
(
code_size
/
4
);
data_size
=
ddr_get_resume_data_size
();
psram_sleep_cfg
->
ddr_data
=
(
uint64_t
)
sram_dst
;
assert
((
uint64_t
)(
sram_dst
+
data_size
/
4
)
<
PSRAM_SP_BOTTOM
);
assert
((
uint64_t
)(
sram_dst
+
ddr_get_resume_data_size
()
/
4
)
<
PSRAM_SP_BOTTOM
);
psram_sleep_cfg
->
sp
=
PSRAM_SP_TOP
;
}
...
...
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