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