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
45cd814b
Commit
45cd814b
authored
Apr 07, 2017
by
davidcunado-arm
Committed by
GitHub
Apr 07, 2017
Browse files
Merge pull request #892 from rockchip-linux/fixes-a-typo
rockchip/rk3399: the printf changed to tf_printf for console output
parents
264521bf
01178e82
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/rockchip/rk3399/drivers/dram/dfs.c
View file @
45cd814b
...
...
@@ -445,7 +445,7 @@ static uint32_t get_pi_tdfi_phy_rdlat(struct dram_timing_t *pdram_timing,
}
else
if
(
timing_config
->
dram_type
==
LPDDR3
)
{
mem_delay_ps
=
5500
;
}
else
{
printf
(
"get_pi_tdfi_phy_rdlat:dramtype unsupport
\n
"
);
NOTICE
(
"get_pi_tdfi_phy_rdlat:dramtype unsupport
\n
"
);
return
0
;
}
round_trip_ps
=
1100
+
500
+
mem_delay_ps
+
500
+
600
;
...
...
@@ -2009,21 +2009,6 @@ static uint32_t prepare_ddr_timing(uint32_t mhz)
return
index
;
}
void
print_dram_status_info
(
void
)
{
uint32_t
*
p
;
uint32_t
i
;
p
=
(
uint32_t
*
)
&
rk3399_dram_status
.
timing_config
;
INFO
(
"rk3399_dram_status.timing_config:
\n
"
);
for
(
i
=
0
;
i
<
sizeof
(
struct
timing_related_config
)
/
4
;
i
++
)
tf_printf
(
"%u
\n
"
,
p
[
i
]);
p
=
(
uint32_t
*
)
&
rk3399_dram_status
.
drv_odt_lp_cfg
;
INFO
(
"rk3399_dram_status.drv_odt_lp_cfg:
\n
"
);
for
(
i
=
0
;
i
<
sizeof
(
struct
drv_odt_lp_config
)
/
4
;
i
++
)
tf_printf
(
"%u
\n
"
,
p
[
i
]);
}
uint32_t
ddr_set_rate
(
uint32_t
hz
)
{
uint32_t
low_power
,
index
,
ddr_index
;
...
...
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