]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/A20
Add a mips implementation of OF_decode_addr().
[FreeBSD/FreeBSD.git] / sys / arm / conf / A20
1 #
2 # A20 -- Custom configuration for the Allwinner A20 ARM 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 ident           A20
22
23 include         "std.armv6"
24 include         "../allwinner/a20/std.a20"
25
26 options         HZ=100
27 options         SCHED_ULE               # ULE scheduler
28 options         SMP                     # Enable multiple cores
29
30 # Debugging for use in -current
31 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
32 options         ALT_BREAK_TO_DEBUGGER
33 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
34 options         KDB                     # Enable kernel debugger support
35 # For minimum debugger support (stable branch) use:
36 #options        KDB_TRACE               # Print a stack trace for a panic
37 # For full debugger support use this instead:
38 options         DDB                     # Enable the kernel debugger
39 options         INVARIANTS              # Enable calls of extra sanity checking
40 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
41 options         WITNESS                 # Enable checks to detect deadlocks and cycles
42 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
43 #options        DIAGNOSTIC
44
45 # NFS root from boopt/dhcp
46 #options        BOOTP
47 #options        BOOTP_NFSROOT
48 #options        BOOTP_COMPAT
49 #options        BOOTP_NFSV3
50 #options        BOOTP_WIRED_TO=dwc0
51
52 # Boot device is 2nd slice on MMC/SD card
53 options         ROOTDEVNAME=\"ufs:/dev/da0s2\"
54
55 # Interrupt controller
56 device          gic
57
58 # MMC/SD/SDIO Card slot support
59 device          mmc                     # mmc/sd bus
60 device          mmcsd                   # mmc/sd flash cards
61
62 # ATA controllers
63 device          ahci                    # AHCI-compatible SATA controllers
64 #device         ata                     # Legacy ATA/SATA controllers
65
66 # Console and misc
67 device          uart
68 device          uart_ns8250
69 device          pty
70 device          snp
71 device          md
72 device          random                  # Entropy device
73
74 # I2C support
75 #device         iicbus
76 #device         iic
77
78 # GPIO
79 device          gpio
80 device          gpioled
81
82 device          scbus                   # SCSI bus (required for ATA/SCSI)
83 device          da                      # Direct Access (disks)
84 device          pass                    # Passthrough device (direct ATA/SCSI access)
85
86 # USB support
87 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
88 device          usb
89 options         USB_DEBUG
90 #options        USB_REQ_DEBUG
91 #options        USB_VERBOSE
92 #device         uhci
93 #device         ohci
94 device          ehci
95
96 device          umass
97
98 # Ethernet
99 device          loop
100 device          ether
101 device          mii
102 device          bpf
103
104 #device         emac                    # 10/100 integrated EMAC controller
105 device          dwc                     # 10/100/1000 integrated GMAC controller
106
107 # USB ethernet support, requires miibus
108 device          miibus
109
110 # Flattened Device Tree
111 options         FDT                     # Configure using FDT/DTB data
112 makeoptions     MODULES_EXTRA=dtb/allwinner