BOARDNAME:=Traverse Geos
FEATURES:=squashfs jffs2 ext4 pci usb gpio
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),1)
- GEOS_GPIO:=gpio-cs5535-new
-else
- GEOS_GPIO:=gpio-cs5535
-endif
+GEOS_GPIO = $(if $(findstring 1,$(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),gpio-cs5535-new,gpio-cs5535)
DEFAULT_PACKAGES += kmod-ata-via-sata \
kmod-crypto-hw-geode kmod-crypto-ocf \
kmod-$(GEOS_GPIO) kmod-gpio-nsc \
kmod-cfg80211 kmod-mac80211 \
kmod-mppe kmod-pppoe kmod-pppoa kmod-pppol2tp \
kmod-ath kmod-ath5k kmod-ath9k \
+ kmod-cpu-msr \
soloscli linux-atm br2684ctl bridge ppp ppp-mod-pppoa \
- libopenssl ocf-crypto-headers zlib hwclock hostapd
+ libopenssl ocf-crypto-headers zlib hwclock hostapd \
+ flashrom
CS5535_MASK:=0x0E000048