summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorDave Liu <daveliu@freescale.com>2008-11-21 16:31:53 +0800
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2009-01-23 17:03:14 -0600
commitbf5b1f0c0d28ce062e1d368680632dfb099de692 (patch)
treea75659be81edb6d738fab5784a0d7fb3130ac47b /board/freescale
parentb4983e16d150ab7d039704c310aacbd2f4dc1e0f (diff)
downloadu-boot-imx-bf5b1f0c0d28ce062e1d368680632dfb099de692.zip
u-boot-imx-bf5b1f0c0d28ce062e1d368680632dfb099de692.tar.gz
u-boot-imx-bf5b1f0c0d28ce062e1d368680632dfb099de692.tar.bz2
85xx: enable the auto self refresh for wake up ARP
The wake up ARP feature need use the memory to process wake up packet, we enable auto self refresh to support it. Signed-off-by: Dave Liu <daveliu@freescale.com> Acked-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mpc8536ds/ddr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/freescale/mpc8536ds/ddr.c b/board/freescale/mpc8536ds/ddr.c
index 3135d6d..2bad787 100644
--- a/board/freescale/mpc8536ds/ddr.c
+++ b/board/freescale/mpc8536ds/ddr.c
@@ -79,4 +79,10 @@ void fsl_ddr_board_options(memctl_options_t *popts,
* - number of DIMMs installed
*/
popts->half_strength_driver_enable = 0;
+
+ /*
+ * For wake up arp feature, we need enable auto self refresh
+ */
+ popts->auto_self_refresh_en = 1;
+ popts->sr_it = 0x6;
}