RPi/options: add Slice/Slice3 support

This commit is contained in:
Lukas Rusak 2017-03-14 12:06:21 -07:00
parent 8954bffc98
commit 750bdc7632
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3

View File

@ -18,9 +18,9 @@
# arm1176jz-s arm1176jzf-s cortex-a8 cortex-a9 cortex-r4
# cortex-r4f cortex-m3 cortex-m1 xscale iwmmxt iwmmxt2 ep9312.
if [ "$DEVICE" = "RPi" ]; then
if [ "$DEVICE" = "RPi" -o "$DEVICE" = "Slice" ]; then
TARGET_CPU="arm1176jzf-s"
elif [ "$DEVICE" = "RPi2" ]; then
elif [ "$DEVICE" = "RPi2" -o "$DEVICE" = "Slice3" ]; then
TARGET_CPU="cortex-a7"
fi
@ -36,9 +36,9 @@
# vfpv3xd vfpv3xd-fp16 neon neon-fp16 vfpv4 vfpv4-d16 fpv4-sp-d16
# neon-vfpv4.
if [ "$DEVICE" = "RPi" ]; then
if [ "$DEVICE" = "RPi" -o "$DEVICE" = "Slice" ]; then
TARGET_FPU="vfp"
elif [ "$DEVICE" = "RPi2" ]; then
elif [ "$DEVICE" = "RPi2" -o "$DEVICE" = "Slice3" ]; then
TARGET_FPU="neon-vfpv4"
fi
@ -70,7 +70,7 @@
# default: default mainline kernel
LINUX="default"
if [ "$DEVICE" = "RPi" ]; then
if [ "$DEVICE" = "RPi" -o "$DEVICE" = "Slice" ]; then
# NOOBS supported hex versions (legacy)
NOOBS_HEX="2,3,4,5,6,7,8,9,d,e,f,10,11,12,14,19,0092,0093"
@ -78,7 +78,7 @@ if [ "$DEVICE" = "RPi" ]; then
# NOOBS supported model versions
NOOBS_SUPPORTED_MODELS='"Pi Model","Pi Compute Module","Pi Zero"'
elif [ "$DEVICE" = "RPi2" ]; then
elif [ "$DEVICE" = "RPi2" -o "$DEVICE" = "Slice3" ]; then
# NOOBS supported hex versions (legacy)
NOOBS_HEX="1040,1041,2082"