summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2015-12-11 01:34:13 +0000
committerjhibbits <jhibbits@FreeBSD.org>2015-12-11 01:34:13 +0000
commitd153dbf650bab72803c26528301ccdbda7ed4b0d (patch)
tree824ea0bc243bbd52f08e3ddc70519387f9d3ba31 /sys/powerpc
parentf06dc3c86059a87e7f1f879a2cd0842073bea50a (diff)
downloadFreeBSD-src-d153dbf650bab72803c26528301ccdbda7ed4b0d.zip
FreeBSD-src-d153dbf650bab72803c26528301ccdbda7ed4b0d.tar.gz
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)
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/booke/booke_machdep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/powerpc/booke/booke_machdep.c b/sys/powerpc/booke/booke_machdep.c
index 7616686..c98e301 100644
--- a/sys/powerpc/booke/booke_machdep.c
+++ b/sys/powerpc/booke/booke_machdep.c
@@ -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 */
OpenPOWER on IntegriCloud