summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-23 15:42:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-23 15:42:07 +0200
commitc8e6e0a8c7dfc3f4029afdbf9dca3afe9b20095c (patch)
tree0ef62fcfca965a6a40258456c2ee71b3acf40602 /target/linux
parent27cc6620c73e70e74e1722410ac5315ccf2c0dc4 (diff)
more fixes and drivers for cubox-i
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/Config.in3
-rw-r--r--target/linux/config/Config.in.block45
-rw-r--r--target/linux/config/Config.in.cpu8
-rw-r--r--target/linux/config/Config.in.dma8
-rw-r--r--target/linux/config/Config.in.gpio15
-rw-r--r--target/linux/config/Config.in.misc18
-rw-r--r--target/linux/config/Config.in.netfilter.ip48
-rw-r--r--target/linux/config/Config.in.regulator69
-rw-r--r--target/linux/config/Config.in.spi11
9 files changed, 169 insertions, 16 deletions
diff --git a/target/linux/Config.in b/target/linux/Config.in
index 9c1c04b85..50b35ebcd 100644
--- a/target/linux/Config.in
+++ b/target/linux/Config.in
@@ -23,3 +23,6 @@ source target/linux/config/Config.in.spi
source target/linux/config/Config.in.kvm
source target/linux/config/Config.in.debug
source target/linux/config/Config.in.virtio
+source target/linux/config/Config.in.regulator
+source target/linux/config/Config.in.gpio
+source target/linux/config/Config.in.dma
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index 9fb62de81..7cf30c49c 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -21,11 +21,22 @@ config ADK_KERNEL_IOSCHED_CFQ
config ADK_KERNEL_SCSI
boolean
- default y if ADK_TARGET_SYSTEM_IBM_X40
config ADK_KERNEL_SCSI_DMA
boolean
+config ADK_KERNEL_SCSI_MULTI_LUN
+ boolean
+
+config ADK_KERNEL_SCSI_CONSTANTS
+ boolean
+
+config ADK_KERNEL_SCSI_LOGGING
+ boolean
+
+config ADK_KERNEL_SCSI_SCAN_ASYNC
+ boolean
+
config ADK_KERNEL_BLK_DEV_SD
boolean
@@ -54,6 +65,12 @@ config ADK_KERNEL_ATA_SFF
config ADK_KERNEL_ATA_BMDMA
boolean
+config ADK_KERNEL_SATA_AHCI_PLATFORM
+ boolean
+
+config ADK_KERNEL_SATA_PMP
+ boolean
+
config ADK_KERNEL_CONNECTOR
boolean
@@ -63,6 +80,12 @@ config ADK_KERNEL_MMC
config ADK_KERNEL_MMC_BLOCK
boolean
+config ADK_KERNEL_MMC_BLOCK_BOUNCE
+ boolean
+
+config ADK_KERNEL_MMC_UNSAFE_RESUME
+ boolean
+
config ADK_KERNEL_MMC_SDHCI
boolean
@@ -124,6 +147,20 @@ config ADK_KERNEL_PATA_PLATFORM
config ADK_KERNEL_PATA_PCMCIA
boolean
+config ADK_KERNEL_PATA_IMX
+ boolean
+ select ADK_KERNEL_SCSI
+ select ADK_KERNEL_ATA
+ select ADK_KERNEL_ATA_SFF
+ select ADK_KERNEL_ATA_BMDMA
+ select ADK_KERNEL_BLK_DEV
+ select ADK_KERNEL_BLK_DEV_SD
+ select ADK_KERNEL_ATA
+ select ADK_KERNEL_SATA_PMP
+ select ADK_KERNEL_SATA_AHCI_PLATFORM
+ default y if ADK_TARGET_SYSTEM_CUBOX_I
+ default n
+
config ADK_KERNEL_PATA_PXA
boolean
select ADK_KERNEL_SCSI
@@ -163,8 +200,14 @@ config ADK_KERNEL_MMC_SDHCI_BCM2708
config ADK_KERNEL_MMC_SDHCI_ESDHC_IMX
boolean
select ADK_KERNEL_SCSI
+ select ADK_KERNEL_SCSI_DMA
+ select ADK_KERNEL_SCSI_MULTI_LUN
+ select ADK_KERNEL_SCSI_CONSTANTS
+ select ADK_KERNEL_SCSI_LOGGING
+ select ADK_KERNEL_SCSI_SCAN_ASYNC
select ADK_KERNEL_MMC
select ADK_KERNEL_MMC_BLOCK
+ select ADK_KERNEL_MMC_BLOCK_BOUNCE
select ADK_KERNEL_BLK_DEV
select ADK_KERNEL_BLK_DEV_SD
select ADK_KERNEL_MMC_SDHCI
diff --git a/target/linux/config/Config.in.cpu b/target/linux/config/Config.in.cpu
index 1d36c0b36..bce1d1844 100644
--- a/target/linux/config/Config.in.cpu
+++ b/target/linux/config/Config.in.cpu
@@ -30,14 +30,6 @@ config ADK_KERNEL_CPU_FREQ
boolean
default n
-config ADK_KERNEL_REGULATOR
- boolean
- default n
-
-config ADK_KERNEL_REGULATOR_ANATOP
- boolean
- default n
-
config ADK_KERNEL_CPU_FREQ_GOV_PERFORMANCE
boolean
default n
diff --git a/target/linux/config/Config.in.dma b/target/linux/config/Config.in.dma
new file mode 100644
index 000000000..e8b7fdb93
--- /dev/null
+++ b/target/linux/config/Config.in.dma
@@ -0,0 +1,8 @@
+config ADK_KERNEL_DMADEVICES
+ boolean
+
+config ADK_KERNEL_IMX_SDMA
+ boolean
+ select ADK_KERNEL_DMADEVICES
+ default y if ADK_TARGET_SYSTEM_CUBOX_I
+ default n
diff --git a/target/linux/config/Config.in.gpio b/target/linux/config/Config.in.gpio
new file mode 100644
index 000000000..cdb8ca923
--- /dev/null
+++ b/target/linux/config/Config.in.gpio
@@ -0,0 +1,15 @@
+config ADK_KERNEL_GPIOLIB
+ boolean
+
+config ADK_KERNEL_GPIO_SYSFS
+ boolean
+
+config ADK_KERNEL_GPIO_GENERIC
+ boolean
+
+config ADK_KERNEL_GPIO_MXC
+ select ADK_KERNEL_GPIOLIB
+ select ADK_KERNEL_GPIO_SYSFS
+ select ADK_KERNEL_GPIO_GENERIC
+ default y if ADK_TARGET_SYSTEM_CUBOX_I
+ boolean
diff --git a/target/linux/config/Config.in.misc b/target/linux/config/Config.in.misc
index 4302b6313..4cec8450a 100644
--- a/target/linux/config/Config.in.misc
+++ b/target/linux/config/Config.in.misc
@@ -1,11 +1,21 @@
-config ADK_KERNEL_DMADEVICES
+# for DMA driver required
+config ADK_KERNEL_FW_LOADER
boolean
+ default y if ADK_TARGET_SYSTEM_CUBOX_I
+ default n
-config ADK_KPACKAGE_KMOD_DMA_BCM2708
- select ADK_KERNEL_DMADEVICES
+config ADK_KERNEL_FIRMWARE_IN_KERNEL
+ boolean
+ default y if ADK_TARGET_SYSTEM_CUBOX_I
+ default n
+
+config ADK_KERNEL_FW_LOADER_USER_HELPER
boolean
+ default y if ADK_TARGET_SYSTEM_CUBOX_I
+ default n
-config ADK_KERNEL_REGMAP
+config ADK_KPACKAGE_KMOD_DMA_BCM2708
+ select ADK_KERNEL_DMADEVICES
boolean
config ADK_KPACKAGE_KMOD_REGMAP_MMIO
diff --git a/target/linux/config/Config.in.netfilter.ip4 b/target/linux/config/Config.in.netfilter.ip4
index d3f988845..7b898ba9b 100644
--- a/target/linux/config/Config.in.netfilter.ip4
+++ b/target/linux/config/Config.in.netfilter.ip4
@@ -37,10 +37,11 @@ config ADK_KPACKAGE_KMOD_IP_NF_FILTER
config ADK_KPACKAGE_KMOD_FULL_NAT
tristate "Meta package for Full NAT"
select ADK_KPACKAGE_KMOD_NF_NAT if ADK_KERNEL_VERSION_3_4_84
- select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_10_34
+ select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_10_36
select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_11_10
select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_12_14
select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_13_7
+ select ADK_KPACKAGE_KMOD_NF_NAT_IPV4 if ADK_KERNEL_VERSION_3_14_1
config ADK_KPACKAGE_KMOD_NF_NAT
tristate 'Full NAT'
@@ -54,10 +55,11 @@ config ADK_KPACKAGE_KMOD_NF_NAT
config ADK_KPACKAGE_KMOD_NF_NAT_IPV4
tristate 'Full NAT'
depends on ADK_KPACKAGE_KMOD_IP_NF_IPTABLES
- depends on ADK_KERNEL_VERSION_3_10_34 \
+ depends on ADK_KERNEL_VERSION_3_10_36 \
|| ADK_KERNEL_VERSION_3_11_10 \
|| ADK_KERNEL_VERSION_3_12_14 \
- || ADK_KERNEL_VERSION_3_13_7
+ || ADK_KERNEL_VERSION_3_13_7 \
+ || ADK_KERNEL_VERSION_3_14_1
help
The Full NAT option allows masquerading, port forwarding and other
forms of full Network Address Port Translation. It is controlled by
diff --git a/target/linux/config/Config.in.regulator b/target/linux/config/Config.in.regulator
new file mode 100644
index 000000000..eb4de388a
--- /dev/null
+++ b/target/linux/config/Config.in.regulator
@@ -0,0 +1,69 @@
+config ADK_KERNEL_REGULATOR
+ boolean
+ default n
+
+config ADK_KERNEL_REGULATOR_FIXED_VOLTAGE
+ boolean
+ default n
+
+config ADK_KERNEL_REGULATOR_ANATOP
+ boolean
+ default n
+
+config ADK_KERNEL_REGULATOR_MC13XXX_CORE
+ boolean
+ default n
+
+config ADK_KERNEL_REGULATOR_DA9052
+ boolean
+ default n
+
+config ADK_KERNEL_REGULATOR_MC13783
+ boolean
+ default n
+
+config ADK_KERNEL_REGULATOR_MC13892
+ boolean
+ default n
+
+config ADK_KERNEL_REGULATOR_PFUZE100
+ boolean
+ default n
+
+config ADK_KERNEL_REGMAP
+ boolean
+ default n
+
+config ADK_KERNEL_REGMAP_I2C
+ boolean
+ default n
+
+config ADK_KERNEL_REGMAP_SPI
+ boolean
+ default n
+
+config ADK_KERNEL_REGMAP_MMIO
+ boolean
+ default n
+
+config ADK_KERNEL_REGMAP_IRQ
+ boolean
+ default n
+
+config ADK_TARGET_CUBOX_REGULATOR
+ boolean
+ select ADK_KERNEL_REGMAP
+ select ADK_KERNEL_REGMAP_I2C
+ select ADK_KERNEL_REGMAP_SPI
+ select ADK_KERNEL_REGMAP_MMIO
+ select ADK_KERNEL_REGMAP_IRQ
+ select ADK_KERNEL_REGULATOR
+ select ADK_KERNEL_REGULATOR_FIXED_VOLTAGE
+ select ADK_KERNEL_REGULATOR_ANATOP
+ select ADK_KERNEL_REGULATOR_MC13XXX_CORE
+ select ADK_KERNEL_REGULATOR_DA9052
+ select ADK_KERNEL_REGULATOR_MC13783
+ select ADK_KERNEL_REGULATOR_MC13892
+ select ADK_KERNEL_REGULATOR_PFUZE100
+ default y if ADK_TARGET_SYSTEM_CUBOX_I
+ default n
diff --git a/target/linux/config/Config.in.spi b/target/linux/config/Config.in.spi
index c130523ef..125a90344 100644
--- a/target/linux/config/Config.in.spi
+++ b/target/linux/config/Config.in.spi
@@ -4,6 +4,9 @@ config ADK_KERNEL_SPI
config ADK_KERNEL_SPI_MASTER
boolean
+config ADK_KERNEL_SPI_BITBANG
+ boolean
+
config ADK_KERNEL_SPI_XILINX
boolean
@@ -22,3 +25,11 @@ config ADK_KERNEL_SPI_RB4XX_CPLD
config ADK_KERNEL_SPI_PXA2XX
select ADK_KERNEL_SPI
boolean
+
+config ADK_KERNEL_SPI_IMX
+ boolean
+ select ADK_KERNEL_SPI
+ select ADK_KERNEL_SPI_MASTER
+ select ADK_KERNEL_SPI_BITBANG
+ default y if ADK_TARGET_SYSTEM_CUBOX_I
+ default n