summaryrefslogtreecommitdiff
path: root/pcmcia-cs/files/arm/pcmcia
blob: 3dc330db216a8f38453f5710315eb8962ae80107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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