summaryrefslogtreecommitdiffstats
path: root/sys/mips/conf/PICOSTATION_M2HP
blob: da6228b7d9e2821660f4ddee455fab3cb1bdb589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#
# Specific board setup for the Picostation M2 HP board.
#
# This board has the following hardware:
#
# + AR7241 CPU SoC
# + AR9287 Wifi
# + Integrated switch (XXX speed?)
# + 8MB flash
# + 32MB RAM
# + uboot environment

# $FreeBSD$

include		"AR724X_BASE"
ident		"PICOSTATION_M2HP"
hints		"PICOSTATION_M2HP.hints"

options 	AR71XX_REALMEM=32*1024*1024

options 	AR71XX_ENV_UBOOT

# Limit inlines
makeoptions	INLINE_LIMIT=768

# We bite the performance overhead for now; the kernel won't
# fit if the mutexes are inlined.
options 	MUTEX_NOINLINE
options 	RWLOCK_NOINLINE
options 	SX_NOINLINE

# There's no need to enable swapping on this platform.
options 	NO_SWAPPING

# For DOS - enable if required
# options 	MSDOSFS

# uncompress - to boot read-only lzma natively from flash
device		geom_uncompress
options 	GEOM_UNCOMPRESS
options 	ROOTDEVNAME=\"ufs:/dev/map/rootfs.uncompress\"

# Not enough space for these..
nooptions 	INVARIANTS
nooptions 	INVARIANT_SUPPORT
nooptions 	WITNESS
nooptions 	WITNESS_SKIPSPIN
nooptions 	DEBUG_REDZONE
nooptions 	DEBUG_MEMGUARD

# Used for the static uboot partition map
device          geom_map

# Options needed for the EEPROM based calibration/PCI configuration data.
options 	AR71XX_ATH_EEPROM	# Fetch EEPROM/PCI config from flash
options 	ATH_EEPROM_FIRMWARE	# Use EEPROM from flash
device		firmware		# Used by the above

# Options required for miiproxy and mdiobus
options 	ARGE_MDIO		# Export an MDIO bus separate from arge
device		miiproxy		# MDIO bus <-> MII PHY rendezvous

device		etherswitch
device		arswitch

# Enable GPIO
device         gpio
device         gpioled
OpenPOWER on IntegriCloud