#@TYPE: Machine
#@NAME: Nokia 800 internet tablet
#@DESCRIPTION: Machine configuration for the Nokia 800
TARGET_ARCH = "arm"

PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive-xomap"
XSERVER = "xserver-xorg \
           xf86-input-evdev \
           xf86-input-tslib \
           xf86-video-omapfb "

GUI_MACHINE_CLASS = "bigscreen"
MACHINE_DISPLAY_WIDTH_PIXELS = "800"
MACHINE_DISPLAY_HEIGHT_PIXELS = "480"

include conf/machine/include/tune-arm1136jf-s.inc

ROOT_FLASH_SIZE = "174"
EXTRA_IMAGECMD_jffs2_nokia800 = "--pad --little-endian --eraseblock=0x20000 -n"

IMAGE_FSTYPES ?= "jffs2"

SERIAL_CONSOLE = "115200 ttyS0"

PREFERRED_PROVIDER_virtual/kernel = "linux-nokia800"

#use this if you are using the nokia initfs
ROOTFS_POSTPROCESS_COMMAND += " remove_init_link; "

MACHINE_FEATURES = "kernel26 apm alsa bluetooth usbgadget usbhost vfat"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "nokia770-init"

# build tools
EXTRA_IMAGEDEPENDS += "0xffff-native"
