mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
ARM: rockchip: ddr_rk30: fix compilation warning
This commit is contained in:
@@ -3733,6 +3733,7 @@ static void _ddr_set_auto_self_refresh(bool en)
|
||||
|
||||
#define PERI_PCLK_DIV_MASK 0x3
|
||||
#define PERI_PCLK_DIV_OFF 12
|
||||
#if 0
|
||||
static __sramdata u32 cru_sel32_sram;
|
||||
static void __sramfunc ddr_suspend(void)
|
||||
{
|
||||
@@ -3807,6 +3808,7 @@ static void __sramfunc ddr_resume(void)
|
||||
|
||||
ddr_selfrefresh_exit();
|
||||
}
|
||||
#endif
|
||||
|
||||
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>
|
||||
static uint32 ddr_get_cap(void)
|
||||
@@ -3829,6 +3831,7 @@ static uint32 ddr_get_cap(void)
|
||||
return cap;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static void ddr_reg_save(void)
|
||||
{
|
||||
//PCTLR
|
||||
@@ -3910,6 +3913,7 @@ static __attribute__((aligned(4))) __sramdata uint32 ddr_reg_resume[] =
|
||||
{
|
||||
#include "ddr_reg_resume.inc"
|
||||
};
|
||||
#endif
|
||||
|
||||
static int ddr_init(uint32_t dram_speed_bin, uint32_t freq)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user