1239799Sadrian#
2239799Sadrian# Specific board setup for the Atheros AP91 reference board.
3239799Sadrian#
4239799Sadrian# The AP91 has the following hardware:
5239799Sadrian#
6239799Sadrian# + AR7241 CPU SoC
7239799Sadrian# + AR9287 Wifi
8239799Sadrian# + Integrated switch (XXX speed?)
9239799Sadrian# + 4MB flash
10239799Sadrian# + 16MB RAM
11239799Sadrian# + uboot environment
12239799Sadrian
13239799Sadrian# $FreeBSD$
14239799Sadrian
15239799Sadrianinclude		"AR724X_BASE"
16239799Sadrianident		"AP91"
17239799Sadrianhints		"AP91.hints"
18239799Sadrian
19266331Sianoptions 	AR71XX_REALMEM=16*1024*1024
20239799Sadrian
21266331Sianoptions 	AR71XX_ENV_UBOOT
22239799Sadrian
23239799Sadrian# Limit inlines
24239799Sadrianmakeoptions	INLINE_LIMIT=768
25239799Sadrian
26239799Sadrian# We bite the performance overhead for now; the kernel won't
27239799Sadrian# fit if the mutexes are inlined.
28239799Sadrianoptions 	MUTEX_NOINLINE
29239799Sadrianoptions 	RWLOCK_NOINLINE
30239799Sadrianoptions 	SX_NOINLINE
31239799Sadrian
32239799Sadrian# There's no need to enable swapping on this platform.
33239799Sadrianoptions 	NO_SWAPPING
34239799Sadrian
35239799Sadrian# For DOS - enable if required
36239799Sadrian# options 	MSDOSFS
37239799Sadrian
38239799Sadrian# uncompress - to boot read-only lzma natively from flash
39239799Sadriandevice		geom_uncompress
40266331Sianoptions 	GEOM_UNCOMPRESS
41266331Sianoptions 	ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\"
42239799Sadrian
43239799Sadrian# Not enough space for these..
44239799Sadriannooptions 	INVARIANTS
45239799Sadriannooptions 	INVARIANT_SUPPORT
46239799Sadriannooptions 	WITNESS
47239799Sadriannooptions 	WITNESS_SKIPSPIN
48239799Sadriannooptions 	DEBUG_REDZONE
49239799Sadriannooptions 	DEBUG_MEMGUARD
50239799Sadrian
51239799Sadrian# Used for the static uboot partition map
52239799Sadriandevice          geom_map
53239799Sadrian
54239799Sadrian# Options needed for the EEPROM based calibration/PCI configuration data.
55239799Sadrianoptions 	AR71XX_ATH_EEPROM	# Fetch EEPROM/PCI config from flash
56239799Sadrianoptions 	ATH_EEPROM_FIRMWARE	# Use EEPROM from flash
57239799Sadriandevice		firmware		# Used by the above
58239799Sadrian
59239799Sadrian# Options required for miiproxy and mdiobus
60239799Sadrianoptions 	ARGE_MDIO		# Export an MDIO bus separate from arge
61239799Sadriandevice		miiproxy		# MDIO bus <-> MII PHY rendezvous
62239799Sadrian
63239799Sadriandevice		etherswitch
64239799Sadriandevice		arswitch
65