]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/SOCKIT.common
Use the new gic option on all configs that need it.
[FreeBSD/FreeBSD.git] / sys / arm / conf / SOCKIT.common
1 #
2 # Kernel configuration for Terasic SoCKit (Altera Cyclone V SoC).
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 include         "std.armv6"
22 include         "../altera/socfpga/std.socfpga"
23
24 makeoptions     MODULES_OVERRIDE=""
25
26 makeoptions     WERROR="-Werror"
27
28 options         HZ=100
29 options         SCHED_ULE               # ULE scheduler
30 options         SMP                     # Enable multiple cores
31
32 # Debugging for use in -current
33 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
34 options         BREAK_TO_DEBUGGER
35 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
36 options         KDB                     # Enable kernel debugger support
37 # For minimum debugger support (stable branch) use:
38 #options        KDB_TRACE               # Print a stack trace for a panic
39 # For full debugger support use this instead:
40 options         DDB                     # Enable the kernel debugger
41 options         INVARIANTS              # Enable calls of extra sanity checking
42 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
43 #options        WITNESS                 # Enable checks to detect deadlocks and cycles
44 #options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
45 #options        DIAGNOSTIC
46
47 # NFS root from boopt/dhcp
48 #options        BOOTP
49 #options        BOOTP_NFSROOT
50 #options        BOOTP_COMPAT
51 #options        BOOTP_NFSV3
52 #options        BOOTP_WIRED_TO=ue0
53
54 # Interrupt controller
55 device          gic
56
57 # MMC/SD/SDIO Card slot support
58 device          mmc                     # mmc/sd bus
59 device          mmcsd                   # mmc/sd flash cards
60 device          dwmmc
61
62 # Pseudo devices
63
64 device          loop
65 device          random
66 device          pty
67 device          md
68 device          gpio
69
70 # USB support
71 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
72 device          usb
73 options         USB_DEBUG
74 #options        USB_REQ_DEBUG
75 #options        USB_VERBOSE
76 #device         musb
77 device          dwcotg
78
79 device          umass
80 device          scbus                   # SCSI bus (required for ATA/SCSI)
81 device          da                      # Direct Access (disks)
82 device          pass
83
84 # Serial ports
85 device          uart
86 device          uart_ns8250
87
88 # I2C (TWSI)
89 device          iic
90 device          iicbus
91
92 # SPI
93 device          spibus
94
95 # Ethernet
96 device          ether
97 device          mii
98 device          smsc
99 device          smscphy
100 device          dwc
101 device          micphy
102
103 # USB ethernet support, requires miibus
104 device          miibus
105 device          axe                     # ASIX Electronics USB Ethernet
106 device          bpf                     # Berkeley packet filter
107
108 # Flattened Device Tree
109 options         FDT                     # Configure using FDT/DTB data