projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3ca26c
)
RK2928:resolve compiled ddr.c fail for rk2928
author
cym
<cym@rock-chips.com>
Sat, 18 May 2013 01:11:45 +0000
(09:11 +0800)
committer
cym
<cym@rock-chips.com>
Sat, 18 May 2013 01:11:45 +0000
(09:11 +0800)
arch/arm/plat-rk/include/plat/ddr.h
patch
|
blob
|
history
diff --git
a/arch/arm/plat-rk/include/plat/ddr.h
b/arch/arm/plat-rk/include/plat/ddr.h
index 574afaf778c107a7745c11ed70d21c303848f15f..4680ceaae1466649e80c34a571b0ef5bf5b01b68 100755
(executable)
--- a/
arch/arm/plat-rk/include/plat/ddr.h
+++ b/
arch/arm/plat-rk/include/plat/ddr.h
@@
-146,7
+146,11
@@
void __sramfunc ddr_suspend(void);
void __sramfunc ddr_resume(void);
//void __sramlocalfunc delayus(uint32_t us);
+#if defined(CONFIG_ARCH_RK2928)
+uint32_t __sramfunc ddr_change_freq(uint32_t nMHz);
+#else
uint32_t ddr_change_freq(uint32_t nMHz);
+#endif
uint32_t ddr_get_cap(void);
int ddr_init(uint32_t dram_type, uint32_t freq);
void ddr_set_auto_self_refresh(bool en);