Author: jhibbits
Date: Fri Dec 11 01:34:13 2015
New Revision: 292073
URL: https://svnweb.freebsd.org/changeset/base/292073

Log:
  No need to reset tlb1 here, it gets reset again after BSS is cleared in
  powerpc_init().
  
  Also fix a comment typo (0x45 == E, not e)

Modified:
  head/sys/powerpc/booke/booke_machdep.c

Modified: head/sys/powerpc/booke/booke_machdep.c
==============================================================================
--- head/sys/powerpc/booke/booke_machdep.c      Fri Dec 11 01:30:20 2015        
(r292072)
+++ head/sys/powerpc/booke/booke_machdep.c      Fri Dec 11 01:34:13 2015        
(r292073)
@@ -296,7 +296,7 @@ booke_init(uint32_t arg1, uint32_t arg2)
         *      relatively small number, such as 64K. arg2 is the
         *      physical address of the argv vector.
         *  -   ePAPR loaders pass an FDT blob in r3 (arg1) and the magic hex
-        *      string 0x45504150 ('ePAP') in r6 (which has been lost by now).
+        *      string 0x45504150 ('EPAP') in r6 (which has been lost by now).
         *      r4 (arg2) is supposed to be set to zero, but is not always.
         */
        
@@ -314,9 +314,6 @@ booke_init(uint32_t arg1, uint32_t arg2)
        else                                    /* U-Boot */
                mdp = NULL;
 
-       /* Reset TLB1 to get rid of temporary mappings */
-       tlb1_init();
-
        ret = powerpc_init(dtbp, 0, 0, mdp);
 
        /* Enable L1 caches */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to