summaryrefslogtreecommitdiff
path: root/packages/pcmcia-cs/files/arm/pcmcia
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pcmcia-cs/files/arm/pcmcia')
-rw-r--r--packages/pcmcia-cs/files/arm/pcmcia17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/pcmcia-cs/files/arm/pcmcia b/packages/pcmcia-cs/files/arm/pcmcia
index e69de29bb2..3dc330db21 100644
--- a/packages/pcmcia-cs/files/arm/pcmcia
+++ b/packages/pcmcia-cs/files/arm/pcmcia
@@ -0,0 +1,17 @@
+case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </proc/cpuinfo` in
+ *XScale-PXA2*)
+ PCIC=pxa_cs
+ ;;
+ *StrongARM-1100* | *StrongARM-1110*)
+ PCIC=sa1100_cs
+ ;;
+ *)
+ echo "Unable to determine PCIC value for this CPU"
+ exit 1
+ ;;
+esac
+
+if grep -q iPAQ /proc/cpuinfo; then
+ PCIC_EXTRA=h3600_generic_sleeve
+fi
+