#
#	NAS configuration for PMC-Sierra MSP2200 reference board.
#	This config uses on-chip UART, thus no LPC and GPIOs.

machine		MSP2200 arm		# CPU Architecture, Platform
config		pmon 

#
#  We are building a compressed boot image version.
#
#makeoptions	COMPRESSED=yes

#
#  Special options
#
option		DEFAULT_IP="\"192.168.16.96\""

#option  	AUTOBOOT_DUAL		# Use dual image boot state machine
#option		AUTOBOOT_FLASH		# Autoboot if flash image is valid
#option		AUTOBOOT_NOCRC		# Don't do CRC32 check on flash image
option		SHUTDOWN_ON_GO		# Shutdown interfaces before handoff to client

#option 	HAVE_FLASH		# Include flash memory support

#option		ENV_FLASH		# Environment data saved in flash
option		ENV_MASS		# Environment data saved on mass storage

option		TGT_PERIODIC		# Call tgt_periodic once per ms.
option		TFTPD_BCAST=5090	# TFTPD announce broadcast port

#
#  Plugins
#
select		p_tftpd

#

include "conf/GENERIC_ALL"

#
# Platform options
#
#option  	NAS
option		MSP2200
option		ARM32
option		CPU_ARM9
option		INET
#option  	SDRAM_128M		# Enable support for 128M SDRAM

select		mod_uart_ns16550
option		CONS_BAUD=B115200	# Default console baud rate
option  	MSP2200_UART		# Use MSP2200 OnChip UART
option		TGT_TOGGLE		# We want to toggle!
#option		GRAPHCONS		# Console on ATI Rage
option		TCPSTACK		# We want TCP/IP
option		HAVE_LOGO		# Has 'splash' logo

#
#  Space saving options
#
option		SCSITERSE		# -24kb Clear text SCSI errmsgs.
#option		PCIVERBOSE		# +35kb	PCI device names.
#option		USBVERBOSE		# +40kb USB verbose messages.

#select		iso9660
select		ramfiles
select		fatfs
select		cmd_fileutils
#select		cmd_pfctr		# Performance counter commands
select		cmd_etherprom		# Ethernet controller prom editor

#
# Debug options
#
#option		SBD_DEBUG
#option		DIAGNOSTIC
option		DEBUG_LOCORE
#option		USB_DEBUG
#option		AUTOCONF_VERBOSE=1
select		cmd_diagmt		# Diagnostic memory test cmd

#
# Functional options
#
option		NOSNOOP			# Caches are no-snooping
option		NEWPCIROOT		# New style PCI framework
select		generic_envram		# Use generic NV-ram routines.

#
# HAVE options. What tgt level provide
#
option		HAVE_TOD		# Time-Of-Day clock
option		HAVE_NVENV		# Platform has non-volatile env mem

#
# System Name and Target Name
#
option		SYSTYPE="\"PM74022\""
option		TARGETNAME="\"PM74022\""
option		CPUNAME="\"MSP2200\""
option 		TGT_PM74022

#
#  Now the Machine specification
#
mainbus0	at root
pcibr0		at mainbus0
pci0		at pcibr0
pci*		at pcibr?

#ppb*		at pci? dev ? function ?	# PCI-PCI bridges
#pci*		at ppb? bus ?

#### Networking Devices

# comment or uncomment the next three lines to exclude or include the driver
#fxp0		at pci? dev ? function ?        # Intel 82559 Ethernet
#inphy*		at mii? phy ?			# Intel 82555 PHYs

# comment or uncomment the next three lines to exclude or include the driver
re0		at pci? dev ? function ?	# RealTek 8169 Ethernet
rgephy* 	at mii? phy ?			# RealTek 8169 built in PHY

# comment or uncomment the next three lines to exclude or include the driver
skc*		at pci? dev ? function ?	# Marvell Yukon based Gigabit Ethernet
sk*		at skc ?			# Marvell Yukon based Gigabit Ethernet
eephy*		at mii? phy ?			# Broadcom phy

#### IDE controllers
#pciide* 	at pci ? dev ? function ? flags 0x0000

#### IDE hard drives
#wd*		at pciide? channel ? drive ? flags 0x0000

#### USB
ohci*		at pci?
ehci0		at pci?				# USB HARDCODE
ehci*		at pci?
usb0		at ehci0			# USB HARDCODE
usb*		at ohci?
usb*		at ehci?
uhub0		at usb0				# USB HARDCODE
uhub*		at usb?				# USB Hubs
uhub*		at uhub?			# USB Hubs
umass0		at uhub0 port 1
umass*		at uhub?
scsibus0	at umass0			# USB HARDCODE
scsibus*	at umass?

#### SCSI support
#siop*		at pci? dev ? function ?	# Symbios/NCR 53c...
#scsibus*	at siop?

sd0		at scsibus0 target 1 lun 0	# USB HARDCODE
sd*		at scsibus? target ? lun ? 
#cd*		at scsibus? target ? lun ? 



#### Pseudo devices
pseudo-device	loop	1			# network loopback

