]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
powerpc/85xx: fix some comments in the CCSR relocation code
authorTimur Tabi <timur@freescale.com>
Mon, 31 Oct 2011 18:30:42 +0000 (13:30 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 8 Nov 2011 14:30:59 +0000 (08:30 -0600)
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/start.S

index 5e0d78d0064f6ef120d21e9a9b2170cd97f9d1ec..275accca5b9ed3e7b2d9d0fdd563575fee8f234b 100644 (file)
@@ -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
 
        /*