riscv: tweak SoC-specific conf organization
Hide some lines from the main GENERIC files by mimicking arm64's model. I do not have any intention of creating a std.riscv or SIFIVE configuration file at this time. Reviewed by: jrtc27 MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D42910
This commit is contained in:
parent
3c097b06a7
commit
bd79cafe70
|
@ -142,11 +142,9 @@ device vt
|
||||||
device kbdmux
|
device kbdmux
|
||||||
|
|
||||||
# RTC
|
# RTC
|
||||||
device da9063_rtc # Dialog Semiconductor DA9063 RTC
|
|
||||||
device goldfish_rtc # QEMU RTC
|
device goldfish_rtc # QEMU RTC
|
||||||
|
|
||||||
# Ethernet drivers
|
# Ethernet drivers
|
||||||
device cgem # Cadence GEM Gigabit Ethernet device
|
|
||||||
device miibus # MII bus support
|
device miibus # MII bus support
|
||||||
device xae # Xilinx AXI Ethernet MAC
|
device xae # Xilinx AXI Ethernet MAC
|
||||||
|
|
||||||
|
@ -161,9 +159,6 @@ device gpio
|
||||||
device spibus
|
device spibus
|
||||||
device spigen
|
device spigen
|
||||||
|
|
||||||
# Power management controllers
|
|
||||||
device da9063_pmic # Dialog Semiconductor DA9063 PMIC
|
|
||||||
|
|
||||||
# Uncomment for memory disk
|
# Uncomment for memory disk
|
||||||
# options MD_ROOT
|
# options MD_ROOT
|
||||||
# options MD_ROOT_SIZE=32768 # 32MB ram disk
|
# options MD_ROOT_SIZE=32768 # 32MB ram disk
|
||||||
|
@ -209,18 +204,11 @@ device bpf # Berkeley packet filter
|
||||||
|
|
||||||
# Flattened Device Tree
|
# Flattened Device Tree
|
||||||
options FDT
|
options FDT
|
||||||
makeoptions MODULES_EXTRA+="dtb/sifive"
|
|
||||||
|
|
||||||
# I2C support
|
# I2C support
|
||||||
device iicbus # Bus support, required for iicoc below.
|
device iicbus # Bus support, required for iicoc below.
|
||||||
device iicoc # OpenCores I2C controller support
|
device iicoc # OpenCores I2C controller support
|
||||||
|
|
||||||
# Allwinner device drivers
|
# Include SoC specific configuration
|
||||||
device aw_wdog # Allwinner Watchdog
|
include "std.allwinner"
|
||||||
files "../allwinner/files.allwinner"
|
include "std.sifive"
|
||||||
|
|
||||||
# SiFive device drivers
|
|
||||||
device fu740_pci_dw
|
|
||||||
device sifive_gpio
|
|
||||||
device sifive_spi
|
|
||||||
include "../sifive/std.sifive"
|
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#
|
||||||
|
# Allwinner SoC support
|
||||||
|
#
|
||||||
|
|
||||||
|
device aw_wdog # Allwinner Watchdog
|
||||||
|
|
||||||
|
files "../allwinner/files.allwinner"
|
|
@ -0,0 +1,15 @@
|
||||||
|
#
|
||||||
|
# SiFive SoC support
|
||||||
|
#
|
||||||
|
|
||||||
|
device cgem # Cadence GEM Gigabit Ethernet device
|
||||||
|
device da9063_pmic # Dialog Semiconductor DA9063 PMIC
|
||||||
|
device da9063_rtc # Dialog Semiconductor DA9063 RTC
|
||||||
|
device fu740_pci_dw
|
||||||
|
device sifive_gpio
|
||||||
|
device sifive_spi
|
||||||
|
|
||||||
|
# DTBs
|
||||||
|
makeoptions MODULES_EXTRA+="dtb/sifive"
|
||||||
|
|
||||||
|
files "../sifive/files.sifive"
|
|
@ -1,2 +0,0 @@
|
||||||
|
|
||||||
files "../sifive/files.sifive"
|
|
Loading…
Reference in New Issue