xref: /f-stack/freebsd/mips/conf/AP91 (revision 22ce4aff)
1a9643ea8Slogwang#
2a9643ea8Slogwang# Specific board setup for the Atheros AP91 reference board.
3a9643ea8Slogwang#
4a9643ea8Slogwang# The AP91 has the following hardware:
5a9643ea8Slogwang#
6a9643ea8Slogwang# + AR7241 CPU SoC
7a9643ea8Slogwang# + AR9287 Wifi
8a9643ea8Slogwang# + Integrated switch (XXX speed?)
9a9643ea8Slogwang# + 4MB flash
10a9643ea8Slogwang# + 16MB RAM
11a9643ea8Slogwang# + uboot environment
12a9643ea8Slogwang
13a9643ea8Slogwang# $FreeBSD$
14a9643ea8Slogwang
15a9643ea8Slogwang#NO_UNIVERSE
16a9643ea8Slogwang
17*22ce4affSfengbojianginclude		"std.AR724X"
18a9643ea8Slogwangident		"AP91"
19a9643ea8Slogwanghints		"AP91.hints"
20a9643ea8Slogwang
21a9643ea8Slogwangoptions 	AR71XX_REALMEM=16*1024*1024
22a9643ea8Slogwang
23a9643ea8Slogwangoptions 	AR71XX_ENV_UBOOT
24a9643ea8Slogwang
25a9643ea8Slogwang# Limit inlines
26a9643ea8Slogwangmakeoptions	INLINE_LIMIT=768
27a9643ea8Slogwang
28a9643ea8Slogwang# We bite the performance overhead for now; the kernel won't
29a9643ea8Slogwang# fit if the mutexes are inlined.
30a9643ea8Slogwangoptions 	MUTEX_NOINLINE
31a9643ea8Slogwangoptions 	RWLOCK_NOINLINE
32a9643ea8Slogwangoptions 	SX_NOINLINE
33a9643ea8Slogwang
34a9643ea8Slogwang# There's no need to enable swapping on this platform.
35a9643ea8Slogwangoptions 	NO_SWAPPING
36a9643ea8Slogwang
37a9643ea8Slogwang# For DOS - enable if required
38a9643ea8Slogwang# options 	MSDOSFS
39a9643ea8Slogwang
40a9643ea8Slogwang# uncompress - to boot read-only lzma natively from flash
41*22ce4affSfengbojiangdevice		xz
42a9643ea8Slogwangoptions 	GEOM_UZIP
43a9643ea8Slogwangoptions 	ROOTDEVNAME=\"ufs:/dev/map/rootfs.uzip\"
44a9643ea8Slogwang
45a9643ea8Slogwang# Not enough space for these..
46a9643ea8Slogwangnooptions 	INVARIANTS
47a9643ea8Slogwangnooptions 	INVARIANT_SUPPORT
48a9643ea8Slogwangnooptions 	WITNESS
49a9643ea8Slogwangnooptions 	WITNESS_SKIPSPIN
50a9643ea8Slogwangnooptions 	DEBUG_REDZONE
51a9643ea8Slogwangnooptions 	DEBUG_MEMGUARD
52a9643ea8Slogwang
53a9643ea8Slogwang# Used for the static uboot partition map
54a9643ea8Slogwangdevice          geom_map
55a9643ea8Slogwang
56a9643ea8Slogwang# Options needed for the EEPROM based calibration/PCI configuration data.
57a9643ea8Slogwangoptions 	AR71XX_ATH_EEPROM	# Fetch EEPROM/PCI config from flash
58a9643ea8Slogwangoptions 	ATH_EEPROM_FIRMWARE	# Use EEPROM from flash
59a9643ea8Slogwangdevice		firmware		# Used by the above
60a9643ea8Slogwang
61a9643ea8Slogwang# Options required for miiproxy and mdiobus
62a9643ea8Slogwangoptions 	ARGE_MDIO		# Export an MDIO bus separate from arge
63a9643ea8Slogwangdevice		miiproxy		# MDIO bus <-> MII PHY rendezvous
64a9643ea8Slogwang
65a9643ea8Slogwangdevice		etherswitch
66a9643ea8Slogwangdevice		arswitch
67