瀏覽代碼

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>
Dave Liu 16 年之前
父節點
當前提交
bf5b1f0c0d
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      board/freescale/mpc8536ds/ddr.c

+ 6 - 0
board/freescale/mpc8536ds/ddr.c

@@ -79,4 +79,10 @@ void fsl_ddr_board_options(memctl_options_t *popts,
 	 *	- number of DIMMs installed
 	 *	- number of DIMMs installed
 	 */
 	 */
 	popts->half_strength_driver_enable = 0;
 	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;
 }
 }