summaryrefslogtreecommitdiff
path: root/target/linux/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-07-31 19:07:25 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-07-31 19:07:33 +0200
commitd02595e538b410237d97108d73376e803aac0eb3 (patch)
tree3ccf484bcda052c08ff3b4385e9b3b5afd496ccc /target/linux/config
parentc277e6d98e7bef6fc332738c74be2f5a00a9b1fe (diff)
orange-pi-zero: make mini.config bootable, ethernet will only work for 4.13.x
Diffstat (limited to 'target/linux/config')
-rw-r--r--target/linux/config/Config.in.block4
-rw-r--r--target/linux/config/Config.in.cpu11
-rw-r--r--target/linux/config/Config.in.dma6
-rw-r--r--target/linux/config/Config.in.ethernet4
-rw-r--r--target/linux/config/Config.in.i2c4
-rw-r--r--target/linux/config/Config.in.serial4
-rw-r--r--target/linux/config/Config.in.spi11
7 files changed, 41 insertions, 3 deletions
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index 179b59a0a..487cfd206 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -486,8 +486,10 @@ config ADK_KERNEL_MMC_SUNXI
select ADK_KERNEL_MMC_SDHCI_PLTFM
select ADK_KERNEL_MMC_UNSAFE_RESUME
select ADK_KERNEL_LBDAF
- depends on ADK_TARGET_SYSTEM_BANANA_PRO
+ depends on ADK_TARGET_SYSTEM_BANANA_PRO || \
+ ADK_TARGET_SYSTEM_ORANGE_PI0
default y if ADK_TARGET_SYSTEM_BANANA_PRO
+ default y if ADK_TARGET_SYSTEM_ORANGE_PI0
default n
config ADK_KERNEL_MMC_ATMELMCI
diff --git a/target/linux/config/Config.in.cpu b/target/linux/config/Config.in.cpu
index 43b5d107c..4c77970a7 100644
--- a/target/linux/config/Config.in.cpu
+++ b/target/linux/config/Config.in.cpu
@@ -43,6 +43,17 @@ config ADK_KERNEL_CPU_FREQ_GOV_ONDEMAND
config ADK_KERNEL_CPU_FREQ_GOV_CONSERVATIVE
bool
+config ADK_KERNEL_CPUFREQ_DT_PLATDEV
+ bool
+
+config ADK_KERNEL_CPUFREQ_DT
+ bool "CPU frequency support DT"
+ select ADK_KERNEL_CPU_FREQ
+ select ADK_KERNEL_CPUFREQ_DT_PLATDEV
+ depends on ADK_TARGET_SYSTEM_ORANGE_PI0
+ default y if ADK_TARGET_SYSTEM_ORANGE_PI0
+ default n
+
config ADK_KERNEL_ARM_IMX6Q_CPUFREQ
bool "CPU frequency support for IMX6 boards"
select ADK_KERNEL_CPU_FREQ
diff --git a/target/linux/config/Config.in.dma b/target/linux/config/Config.in.dma
index d92326c36..c3bb8d67b 100644
--- a/target/linux/config/Config.in.dma
+++ b/target/linux/config/Config.in.dma
@@ -73,3 +73,9 @@ config ADK_KERNEL_IMX_SDMA
default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default n
+config ADK_KERNEL_DMA_SUN6I
+ bool
+ select ADK_KERNEL_DMADEVICES
+ depends on ADK_TARGET_SYSTEM_ORANGE_PI0
+ default y if ADK_TARGET_SYSTEM_ORANGE_PI0
+ default n
diff --git a/target/linux/config/Config.in.ethernet b/target/linux/config/Config.in.ethernet
index 6a5991111..97c2aee0b 100644
--- a/target/linux/config/Config.in.ethernet
+++ b/target/linux/config/Config.in.ethernet
@@ -438,8 +438,10 @@ config ADK_KERNEL_STMMAC_ETH
select ADK_KERNEL_NET_VENDOR_STMICRO
select ADK_KERNEL_STMMAC_PLATFORM
select ADK_KERNEL_DWMAC_SUNXI
- depends on ADK_TARGET_SYSTEM_BANANA_PRO
+ depends on ADK_TARGET_SYSTEM_BANANA_PRO \
+ || ADK_TARGET_SYSTEM_ORANGE_PI0
default y if ADK_TARGET_SYSTEM_BANANA_PRO
+ default y if ADK_TARGET_SYSTEM_ORANGE_PI0
default n
config ADK_KERNEL_ETHOC
diff --git a/target/linux/config/Config.in.i2c b/target/linux/config/Config.in.i2c
index f83d5e34c..9fe68f575 100644
--- a/target/linux/config/Config.in.i2c
+++ b/target/linux/config/Config.in.i2c
@@ -47,8 +47,10 @@ config ADK_KERNEL_I2C_SUNXI
select ADK_KERNEL_REGMAP
select ADK_KERNEL_REGMAP_I2C
select ADK_KERNEL_I2C_CHARDEV
- depends on ADK_TARGET_SYSTEM_BANANA_PRO
+ depends on ADK_TARGET_SYSTEM_BANANA_PRO || \
+ ADK_TARGET_SYSTEM_ORANGE_PI0
default y if ADK_TARGET_SYSTEM_BANANA_PRO
+ default y if ADK_TARGET_SYSTEM_ORANGE_PI0
default n
help
I2C driver for SUNXI boards.
diff --git a/target/linux/config/Config.in.serial b/target/linux/config/Config.in.serial
index 5b7174a80..f82bf3c6e 100644
--- a/target/linux/config/Config.in.serial
+++ b/target/linux/config/Config.in.serial
@@ -4,6 +4,9 @@
menu "Serial devices support"
depends on ADK_TARGET_WITH_SERIAL || ADK_TARGET_QEMU || ADK_TARGET_VBOX || ADK_TARGET_SIM || ADK_TARGET_GENERIC
+config ADK_KERNEL_SERIAL_8250_DMA
+ bool
+
config ADK_KERNEL_SERIAL_8250_DW
bool
@@ -94,6 +97,7 @@ config ADK_KERNEL_SERIAL_8250
select ADK_KERNEL_SERIAL_8250_PNP if ADK_TARGET_SYSTEM_PCENGINES_APU
select ADK_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
select ADK_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_ORANGE_PI0
+ select ADK_KERNEL_SERIAL_8250_DMA if ADK_TARGET_SYSTEM_ORANGE_PI0
select ADK_KERNEL_SERIAL_8250_CONSOLE
select ADK_KERNEL_SERIAL_8250_INGENIC if ADK_TARGET_SYSTEM_IMGTEC_CI20
depends on ADK_TARGET_SYSTEM_XILINX_KINTEX7 \
diff --git a/target/linux/config/Config.in.spi b/target/linux/config/Config.in.spi
index fe77cc921..de7871d0b 100644
--- a/target/linux/config/Config.in.spi
+++ b/target/linux/config/Config.in.spi
@@ -59,6 +59,17 @@ config ADK_KERNEL_SPI_RB4XX
default y if ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
default n
+config ADK_KERNEL_SPI_SUN6I
+ tristate "SPI driver for SunXi"
+ select ADK_KERNEL_SPI
+ select ADK_KERNEL_SPI_MASTER
+ select ADK_KERNEL_SPI_BITBANG
+ select ADK_KERNEL_REGMAP
+ select ADK_KERNEL_REGMAP_SPI
+ depends on ADK_TARGET_SYSTEM_ORANGE_PI0
+ default y if ADK_TARGET_SYSTEM_ORANGE_PI0
+ default n
+
config ADK_KERNEL_SPI_SPIDEV
tristate "SPI userland driver"
select ADK_KERNEL_SPI