summaryrefslogtreecommitdiff
path: root/pcmcia-cs/files/arm/pcmcia
diff options
context:
space:
mode:
Diffstat (limited to 'pcmcia-cs/files/arm/pcmcia')
-rw-r--r--pcmcia-cs/files/arm/pcmcia13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcmcia-cs/files/arm/pcmcia b/pcmcia-cs/files/arm/pcmcia
index e69de29bb2..9bb1f49a16 100644
--- a/pcmcia-cs/files/arm/pcmcia
+++ b/pcmcia-cs/files/arm/pcmcia
@@ -0,0 +1,13 @@
+case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </proc/cpuinfo` in
+ *XScale-PXA2*)
+ PCIC=pxa_cs
+ ;;
+ StrongARM-SA1100 | StrongARM-SA1110)
+ PCIC=sa1100_cs
+ ;;
+ *)
+ echo "Unable to determine PCIC value for this CPU"
+ exit 1
+ ;;
+esac
+