Patchwork [U-Boot,2/5] powerpc/85xx: fix some comments in the CCSR relocation code

login
register
mail settings
Submitter Timur Tabi
Date Oct. 31, 2011, 6:30 p.m.
Message ID <1320085845-10547-2-git-send-email-timur@freescale.com>
Download mbox | patch
Permalink /patch/122910/
State Accepted
Commit c2efa0aa1e484448d553b37df9738095b113a71c
Delegated to: Kumar Gala
Headers show

Comments

Timur Tabi - Oct. 31, 2011, 6:30 p.m.
Signed-off-by: Timur Tabi <timur@freescale.com>
---
 arch/powerpc/cpu/mpc85xx/start.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Kumar Gala - Nov. 8, 2011, 2:31 p.m.
On Oct 31, 2011, at 1:30 PM, Timur Tabi wrote:

> Signed-off-by: Timur Tabi <timur@freescale.com>
> ---
> arch/powerpc/cpu/mpc85xx/start.S |    4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)

applied to 85xx

- k

Patch

diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S
index 528abc9..b5bf1fa 100644
--- a/arch/powerpc/cpu/mpc85xx/start.S
+++ b/arch/powerpc/cpu/mpc85xx/start.S
@@ -398,7 +398,7 @@  create_ccsr_new_tlb:
 	tlbwe
 
 	/*
-	 * Create a TLB for the old location of CCSR.  Register R9 is reserved
+	 * Create a TLB for the current location of CCSR.  Register R9 is reserved
 	 * for the virtual address of this TLB (CONFIG_SYS_CCSRBAR + 0x1000).
 	 */
 create_ccsr_old_tlb:
@@ -457,7 +457,7 @@  create_temp_law:
 	 */
 read_old_ccsrbar:
 	lwz	r0, 0(r9)	/* CCSRBARH */
-	lwz	r0, 4(r9)	/* CCSRBARH */
+	lwz	r0, 4(r9)	/* CCSRBARL */
 	isync
 
 	/*