Date: Fri, 11 Dec 2015 01:34:13 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r292073 - head/sys/powerpc/booke Message-ID: <201512110134.tBB1YDpf030887@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512110134.tBB1YDpf030887>