mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
drivers/ddr/fsl_ddr: Make SR_IE configurable
SR_IE(Self-refresh interrupt enable) is needed for Hardware Based Self-Refresh. Make it configurable and let board code handle the rest. Signed-off-by: Joakim Tjernlund <joakim.tjernlund@transmode.se> Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
4632ad773e
commit
e368c20607
2 changed files with 3 additions and 1 deletions
|
@ -324,6 +324,8 @@ typedef struct memctl_options_s {
|
|||
unsigned int dqs_config; /* Use DQS? maybe only with DDR2? */
|
||||
/* SREN - self-refresh during sleep */
|
||||
unsigned int self_refresh_in_sleep;
|
||||
/* SR_IE - Self-refresh interrupt enable */
|
||||
unsigned int self_refresh_interrupt_en;
|
||||
unsigned int dynamic_power; /* DYN_PWR */
|
||||
/* memory data width to use (16-bit, 32-bit, 64-bit) */
|
||||
unsigned int data_bus_width;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue