#@TYPE: Machine
#@NAME: GHI270 / DuraMax H / DuraMaxHG
#@DESCRIPTION: Machine configuration for the GHI270 platform with a pxa27x CPU

#
# Hardware-based properties
#
TARGET_ARCH = "arm"
PACKAGE_EXTRA_ARCHS = " iwmmxt "

# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
require conf/machine/include/tune-xscale.inc

# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
#require conf/machine/include/tune-iwmmxt.inc

EXTRA_IMAGECMD_jffs2_ghi270 = "-p -n -e 16KiB"

ROOT_FLASH_SIZE = "64"
VOLATILE_STORAGE_SIZE = "64"
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_DISPLAY_WIDTH_PIXELS = "240"
MACHINE_DISPLAY_HEIGHT_PIXELS = "320"
MACHINE_FEATURES = "kernel26 touchscreen apm alsa pcmcia bluetooth irda wifi usbgadget screen"

#
# Software/packages selection
#
PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6"
PREFERRED_VERSION_linux-handhelds-2.6               = "2.6.21-hh11"

PCMCIA_MANAGER = "pcmciautils"
MODUTILS = "26"

#PREFERRED_VERSION_xserver-kdrive = "1.3.0.0"

#PREFERRED_VERSION_orinoco-modules = "0.15rc1"

#
# Modules autoload and other boot properties
#

#FIXME: this should be controlled by a userspace utility later.
module_autoload_g_ether = "g_ether"

SERIAL_CONSOLE = "115200 ttySA0"
