detect POWER cpu (e.g. POWER8E)

It was tested on Debian POWER8E porterbox
This commit is contained in:
Hideki Yamane
2017-07-16 23:32:29 +09:00
parent 8de5ce4de4
commit 7aa880fd6a

View File

@@ -1204,6 +1204,8 @@ detectcpu () {
model="IBM PowerPC G3 "
elif [[ $cpu =~ ^74.+ ]]; then
model="Motorola PowerPC G4 "
elif [[ $cpu =~ ^POWER.* ]]; then
model="IBM POWER "
elif [[ "$(cat /proc/cpuinfo)" =~ "BCM2708" ]]; then
model="Broadcom BCM2835 ARM1176JZF-S"
else