RK2928:resolve compiled ddr.c fail for rk2928
authorcym <cym@rock-chips.com>
Sat, 18 May 2013 01:11:45 +0000 (09:11 +0800)
committercym <cym@rock-chips.com>
Sat, 18 May 2013 01:11:45 +0000 (09:11 +0800)
arch/arm/plat-rk/include/plat/ddr.h

index 574afaf778c107a7745c11ed70d21c303848f15f..4680ceaae1466649e80c34a571b0ef5bf5b01b68 100755 (executable)
 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);