]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/AML8726
Clean up the Amlogic interrupt controller driver to handle the case where
[FreeBSD/FreeBSD.git] / sys / arm / conf / AML8726
1 #
2 # Kernel configuration for Amlogic aml8726 boards.
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           AML8726
22
23 include         "std.armv6"
24 include         "../amlogic/aml8726/std.aml8726"
25
26 options         HZ=100
27 options         SCHED_ULE               # ULE scheduler
28 options         PRINTF_BUFR_SIZE=128    # Prevent printf output being interspersed.
29 options         LINUX_BOOT_ABI
30
31 # Debugging
32 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
33 options         ALT_BREAK_TO_DEBUGGER
34 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
35 options         BOOTVERBOSE=1
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=axe0
53
54 # Interrupt controller
55 device          aml_pic
56
57 # MMC/SD/SDIO Card slot support
58 device          mmc                     # mmc/sd bus
59 device          mmcsd                   # mmc/sd flash cards
60
61 # Boot device is 2nd slice on MMC/SD card
62 options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
63
64 # GPIO
65 device          gpio
66 device          gpioled
67
68 # I2C support
69 device          iicbus
70 device          iicbb
71 device          iic
72
73 # vt is the default console driver, resembling an SCO console
74 device          vt
75 #device         kbdmux
76
77 # Serial (COM) ports
78 device          uart                    # Generic UART driver
79
80 # Pseudo devices.
81 device          loop                    # Network loopback
82 device          random                  # Entropy device
83 device          ether                   # Ethernet support
84 device          pty                     # BSD-style compatibility pseudo ttys
85
86 # The `bpf' device enables the Berkeley Packet Filter.
87 # Be aware of the administrative consequences of enabling this!
88 # Note that 'bpf' is required for DHCP.
89 device          bpf                     # Berkeley packet filter
90
91 # USB support
92 device          usb                     # General USB code (mandatory for USB)
93 device          dwcotg                  # DWC OTG controller
94 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
95 options         USB_DEBUG
96 #options        USB_REQ_DEBUG
97 #options        USB_VERBOSE
98
99 #device         ukbd                    # USB keyboard
100 #device         ums                     # USB mouse
101
102 device          scbus                   # SCSI bus (required for ATA/SCSI)
103 device          da                      # Direct Access (disks)
104 device          umass                   # Disks/Mass storage - Requires scbus and da
105
106 # Ethernet support
107 device          miibus                  # MII bus support
108
109 # SoC Ethernet, requires miibus
110 device          dwc
111
112 # USB Ethernet support, requires miibus
113 device          axe                     # ASIX Electronics USB Ethernet
114
115 # Flattened Device Tree
116 options         FDT                     # Configure using FDT/DTB data