]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/ARMADAXP
MFV r302218: file 5.28.
[FreeBSD/FreeBSD.git] / sys / arm / conf / ARMADAXP
1 #
2 # Custom kernel for Marvell Armada XP
3 #
4 # For more information on this file, please read the config(5) manual page,
5 # and/or the handbook section on Kernel Configuration Files:
6 #
7 #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8 #
9 # The handbook is also available locally in /usr/share/doc/handbook
10 # if you've installed the doc distribution, otherwise always see the
11 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12 # latest information.
13 #
14 # An exhaustive list of options and more detailed explanations of the
15 # device lines is also present in the ../../conf/NOTES and NOTES files.
16 # If you are in doubt as to the purpose or necessity of a line, check first
17 # in NOTES.
18 #
19 # $FreeBSD$
20
21 ident           MV-88F78XX0
22
23 include         "std.armv6"
24 include         "../mv/armadaxp/std.mv78x60"
25
26 options         SOC_MV_ARMADAXP
27
28 makeoptions     WERROR="-Werror"
29
30 options         HZ=1000
31 options         SCHED_ULE               # ULE scheduler
32 options         SMP                     # Enable multiple cores
33
34 # Debugging for use in -current
35 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
36 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
37 options         ALT_BREAK_TO_DEBUGGER
38 options         KDB                     # Enable kernel debugger support
39 # For minimum debugger support (stable branch) use:
40 options         KDB_TRACE               # Print a stack trace for a panic
41 # For full debugger support use this instead:
42 options         DDB                     # Enable the kernel debugger
43 options         GDB
44 #options        INVARIANTS              # Enable calls of extra sanity checking
45 #options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
46 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
47 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
48 #options        WITNESS_KDB
49 #options        DIAGNOSTIC
50 #options        KTR
51 #options        KTR_VERBOSE=0
52 #options        KTR_ENTRIES=16384
53 #options        KTR_MASK=(KTR_SPARE2)
54 #options        KTR_COMPILE=KTR_ALL
55
56 # NFS root from boopt/dhcp
57 options         BOOTP
58 options         BOOTP_NFSROOT
59 options         BOOTP_NFSV3
60 options         BOOTP_WIRED_TO=mge0
61
62 options         ROOTDEVNAME=\"ufs:/dev/da0p1\"
63
64 options         MUTEX_NOINLINE
65 options         RWLOCK_NOINLINE
66 options         NO_FFS_SNAPSHOT
67 options         NO_SWAPPING
68
69 # Pseudo devices
70 device          random
71 device          pty
72 device          loop
73 device          md
74
75 # USB
76 options         USB_DEBUG               # enable debug msgs
77 device          usb
78 device          ehci
79 device          umass
80 device          scbus
81 device          pass
82 device          da
83
84 # SATA
85 device          mvs
86
87 # Serial ports
88 device          uart
89
90 # I2C (TWSI)
91 device          iic
92 device          iicbus
93 device          twsi
94
95 #Network
96 device          ether
97 device          mge                     # Marvell Gigabit Ethernet controller
98 device          mii
99 device          mdio
100 device          e1000phy
101 device          bpf
102 options         DEVICE_POLLING
103 device          vlan
104
105 #PCI/PCIE
106 device          pci
107
108 # Flattened Device Tree
109 options         FDT                     # Configure using FDT/DTB data
110 options         FDT_DTB_STATIC
111 makeoptions     FDT_DTS_FILE=db78460.dts