]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/mediatek/std.mediatek
Merge lldb trunk r338150, and resolve conflicts.
[FreeBSD/FreeBSD.git] / sys / mips / mediatek / std.mediatek
1 #
2 # std.mtk -- Base kernel configuration file for FreeBSD/MIPS Mediatek/Ralink
3 # SoCs.
4 #
5 # This includes all the required drivers for the SoCs.
6 #
7 # $FreeBSD$
8 #
9
10 # Include the standard file list for Mediatek SoCs.
11 files           "../mediatek/files.mediatek"
12
13 # Building a mips/mipsel kernel
14 machine         mips mipsel
15
16 # Little-endian machine
17 makeoptions     MIPS_LITTLE_ENDIAN=defined
18
19 # Default kernel load address
20 makeoptions     KERNLOADADDR=0x80001000
21
22 # Mediatek/Ralink SoC support depends on FDT (with static DTB for the moment)
23 options         FDT
24 options         FDT_DTB_STATIC
25
26 # We rely on INTRNG code
27 options         INTRNG
28 options         MIPS_NIRQ=256
29
30 # We rely on NEW_PCIB code
31 options         NEW_PCIB
32
33 # Build kernel with gdb(1) debug symbols
34 makeoptions     DEBUG=-g
35
36 # Support for DDB and KDB
37 options         DDB
38 options         KDB
39
40 # Debugging for use in -current
41 options         INVARIANTS
42 options         INVARIANT_SUPPORT
43 options         WITNESS
44 options         WITNESS_SKIPSPIN
45 options         DEBUG_REDZONE
46 options         DEBUG_MEMGUARD
47
48 # For small memory footprints
49 options         VM_KMEM_SIZE_SCALE=1
50
51 # General options, including scheduler, etc.
52 options         SCHED_ULE       # ULE scheduler
53 options         INET            # InterNETworking
54 #options        INET6           # IPv6
55 options         PSEUDOFS        # Pseude-filesystem framework
56 options         FFS             # Berkeley Fast Filesystem
57 #options        SOFTUPDATES     # Enable FFS soft updates support
58 #options        UFS_ACL         # Support for access control lists
59 #options        UFS_DIRHASH     # Improve big directory performance
60 #options        MSDOSFS         # Enable support for MSDOS filesystems
61 options         _KPOSIX_PRIORITY_SCHEDULING     # Posix P1003_1B real-time ext.
62
63 #
64 # Standard drivers section
65 #
66 # The drivers in the following section are required in order to successfully
67 # compile the kernel.
68 #
69
70 # FDT clock and pinctrl framework
71 device          fdt_clock
72 device          fdt_pinctrl
73
74 # UART support
75 device          uart
76
77 # random support
78 device          random
79
80 # loop device support
81 device          loop
82
83 # ether device support
84 device          ether
85
86 # ether switch support
87 device          etherswitch
88 device          miibus
89 device          mtkswitch
90 device          mdio