diff options
author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/packages/pcmcia-cs/files/arm | |
download | openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.bz2 openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.xz openembedded-core-4b46c1f6e891b1ddd5968536440b888661fade3e.zip |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/pcmcia-cs/files/arm')
-rw-r--r-- | openembedded/packages/pcmcia-cs/files/arm/pcmcia | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/openembedded/packages/pcmcia-cs/files/arm/pcmcia b/openembedded/packages/pcmcia-cs/files/arm/pcmcia new file mode 100644 index 000000000..d42bc84e7 --- /dev/null +++ b/openembedded/packages/pcmcia-cs/files/arm/pcmcia @@ -0,0 +1,30 @@ +case `awk 'BEGIN { FS=":" } /Processor/ { gsub(/ /, "", $2) ; print $2 } ' </proc/cpuinfo` in + *XScale-PXA2*) + + case "`uname -r`" in + 2.4*) + PCIC=pxa_cs + ;; + 2.6*) + PCIC=pxa2xx_core + ;; + esac + ;; + *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 + case `module_id` in + "HP iPAQ H2200") + ;; + *) + PCIC_EXTRA=h3600_generic_sleeve + ;; + esac +fi |