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