fsl-ddr: make the self refresh idle threshold configurable
Some 85xx processors have the advanced power management feature, such as wake up ARP, that needs enable the automatic self refresh. If the DDR controller pass the SR_IT (self refresh idle threshold) idle cycles, it will automatically enter self refresh. However, anytime one transaction is issued to the DDR controller, it will reset the counter and exit self refresh state. Signed-off-by: Dave Liu <daveliu@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
committed by
Andrew Fleming-AFLEMING
parent
22ff3d0134
commit
22cca7e1cd
@@ -146,6 +146,10 @@ typedef struct memctl_options_s {
|
||||
unsigned int bstopre;
|
||||
unsigned int tCKE_clock_pulse_width_ps; /* tCKE */
|
||||
unsigned int tFAW_window_four_activates_ps; /* tFAW -- FOUR_ACT */
|
||||
|
||||
/* Automatic self refresh */
|
||||
unsigned int auto_self_refresh_en;
|
||||
unsigned int sr_it;
|
||||
} memctl_options_t;
|
||||
|
||||
extern phys_size_t fsl_ddr_sdram(void);
|
||||
|
||||
Reference in New Issue
Block a user