Skip to contentSkip to conversation

85xx: enable the auto self refresh for wake up ARP

PATCH New Dave Liu 3 participants 5 messages Nov 21, 2008 – Dec 4, 2008

lore
Share & tools
lore

Dave Liu

author
#0 lore raw

PATCH 5/5 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.

---
 board/freescale/mpc8536ds/ddr.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
board/freescale/mpc8536ds/ddr.c +6 -0
index 3135d6d..2bad787 100644
@@ -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;
 }
Signature · 1 line
1.5.4
#1 lore raw

PATCH 5/5 85xx: enable the auto self refresh for wake up ARP

Quoted 14 lines · Dave Liu

The wake up ARP feature need use the memory to process wake up packet, we enable auto self refresh to support it.

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

1 files changed, 6 insertions(+), 0 deletions(-)
board/freescale/ renamed from board/freescale/mpc8536ds/ddr.c +0 -0

mpc8536ds/ddr.c
index 3135d6d..2bad787 100644

board/freescale/mpc8536ds/ddr.c void fsl_ddr_board_options(memctl_options_t *popts, · line 87

Quoted 9 lines
board/freescale/mpc8536ds/ddr.c +6 -0
@@ -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;

any reason we picked 6?

- k

author
#2 lore raw

PATCH 5/5 85xx: enable the auto self refresh for wake up ARP

Quoted 28 lines

-----Original Message-----
From: Kumar Gala [mailto:galak at kernel.crashing.org]
Sent: Friday, November 21, 2008 7:43 PM
To: Liu Dave-R63238
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH 5/5] 85xx: enable the auto self refresh for wake up ARP

board/freescale/mpc8536ds/ddr.c void

Quoted 14 lines · Dave Liu

The wake up ARP feature need use the memory to process wake up packet, we enable auto self refresh to support it.

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

1 files changed, 6 insertions(+), 0 deletions(-)
board/freescale/ renamed from board/freescale/mpc8536ds/ddr.c +0 -0

mpc8536ds/ddr.c
index 3135d6d..2bad787 100644

board/freescale/mpc8536ds/ddr.c +0 -0
@@ -79,4 +79,10 @@ void 

fsl_ddr_board_options(memctl_options_t *popts,

Quoted 11 lines

board/freescale/mpc8536ds/ddr.c void fsl_ddr_board_options(memctl_options_t *popts, · line 87

Quoted 9 lines
board/freescale/mpc8536ds/ddr.c +6 -0
 	 *	- 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;

any reason we picked 6?

That is balance for performance and respond time.
the 6 stand for 3ms time (3ns MCLK)

#3 lore raw

PATCH 5/5 85xx: enable the auto self refresh for wake up ARP

Quoted 41 lines · Liu Dave
Quoted 28 lines

-----Original Message-----
From: Kumar Gala [mailto:galak at kernel.crashing.org]
Sent: Friday, November 21, 2008 7:43 PM
To: Liu Dave-R63238
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH 5/5] 85xx: enable the auto self refresh for wake up ARP

board/freescale/mpc8536ds/ddr.c void

Quoted 14 lines · Dave Liu

The wake up ARP feature need use the memory to process wake up packet, we enable auto self refresh to support it.

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

1 files changed, 6 insertions(+), 0 deletions(-)
board/freescale/ renamed from board/freescale/mpc8536ds/ddr.c +0 -0

mpc8536ds/ddr.c
index 3135d6d..2bad787 100644

board/freescale/mpc8536ds/ddr.c +0 -0
@@ -79,4 +79,10 @@ void

fsl_ddr_board_options(memctl_options_t *popts,

Quoted 11 lines

board/freescale/mpc8536ds/ddr.c void fsl_ddr_board_options(memctl_options_t *popts, · line 87

Quoted 9 lines
board/freescale/mpc8536ds/ddr.c +6 -0
 	 *	- 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;

any reason we picked 6?

Quoted 2 lines

That is balance for performance and respond time.
the 6 stand for 3ms time (3ns MCLK)

Probably good to say that in the commit message or as a comment in the code.

- k