Browse Source

powerpc/85xx: fix some comments in the CCSR relocation code

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Timur Tabi 13 năm trước cách đây
mục cha
commit
c2efa0aa1e
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      arch/powerpc/cpu/mpc85xx/start.S

+ 2 - 2
arch/powerpc/cpu/mpc85xx/start.S

@@ -387,7 +387,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:
@@ -446,7 +446,7 @@ create_temp_law:
 	 */
 read_old_ccsrbar:
 	lwz	r0, 0(r9)	/* CCSRBARH */
-	lwz	r0, 4(r9)	/* CCSRBARH */
+	lwz	r0, 4(r9)	/* CCSRBARL */
 	isync
 
 	/*