aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2016-08-20 00:55:58 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2016-08-20 00:55:58 +0000
commitbeacb098647c40dd6665f31a6cc6152af2c59557 (patch)
tree6fb193df3c7d8659c4acc395ecfde678bdb78734 /sys/powerpc
parent21768fa9c008fbfb6d54d5706c56ac4149b68a0e (diff)
downloadsrc-beacb098647c40dd6665f31a6cc6152af2c59557.tar.gz
src-beacb098647c40dd6665f31a6cc6152af2c59557.zip
Skip HID1 initialization on e6500 cores, it doesn't exist.
With this, and some drivers removed, a T2080 dev board boots to mountroot. Submitted by: Ivan Krivonos <int0dster_AT_gmail.com>
Notes
Notes: svn path=/head/; revision=304514
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/booke/locore.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/booke/locore.S b/sys/powerpc/booke/locore.S
index aaed3c3198bd..4c12f14338e1 100644
--- a/sys/powerpc/booke/locore.S
+++ b/sys/powerpc/booke/locore.S
@@ -140,6 +140,8 @@ __start:
beq 1f
cmpli 0, 0, %r3, FSL_E5500
beq 1f
+ cmpli 0, 0, %r3, FSL_E6500
+ beq 1f
lis %r3, HID1_E500_DEFAULT_SET@h
ori %r3, %r3, HID1_E500_DEFAULT_SET@l