projects
/
platform
/
kernel
/
u-boot-thead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1957dcc
)
fix 16g dram print
author
Icenowy Zheng
<uwu@icenowy.me>
Wed, 26 Jul 2023 08:41:24 +0000
(16:41 +0800)
committer
Han Gao
<rabenda.cn@gmail.com>
Tue, 1 Aug 2023 18:58:25 +0000
(
02:58
+0800)
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
board/thead/light-c910/lpddr4/src/ddr_common_func.c
patch
|
blob
|
history
diff --git
a/board/thead/light-c910/lpddr4/src/ddr_common_func.c
b/board/thead/light-c910/lpddr4/src/ddr_common_func.c
index eaa59bd28f94d82ff83fc3693e083451bdc02c12..55155eb45b2e0264219f19e78bb4bacda869814e 100644
(file)
--- a/
board/thead/light-c910/lpddr4/src/ddr_common_func.c
+++ b/
board/thead/light-c910/lpddr4/src/ddr_common_func.c
@@
-14,6
+14,9
@@
unsigned long get_ddr_density() {
#ifdef CONFIG_DDR_DUAL_RANK
mul = 2;
#endif
+#ifdef CONFIG_DDR_ROW16
+ mul *= 2;
+#endif
#ifdef CONFIG_DDR_H32_MODE
div = 2;
#endif