summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-23 16:58:38 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-23 16:58:38 +0200
commitec3d6f6fdd9b83579ba7cd37bab728f6f3e47d75 (patch)
tree6ba67c0678ab41017214b578eb5f5c7554ee3dd0 /target
parent2683e5775c118ed5ea455ac7258c048c10265f37 (diff)
fix bootup from sd
Diffstat (limited to 'target')
-rw-r--r--target/arm/kernel/cubox-i2ultra4
-rw-r--r--target/arm/kernel/cubox-i4pro3
-rw-r--r--target/arm/sys-available/cubox-i1
-rw-r--r--target/config/Config.in3
-rw-r--r--target/linux/Config.in3
-rw-r--r--target/linux/config/Config.in.block4
-rw-r--r--target/linux/config/Config.in.i2c31
-rw-r--r--target/linux/config/Config.in.misc16
-rw-r--r--target/linux/config/Config.in.usb3
9 files changed, 48 insertions, 20 deletions
diff --git a/target/arm/kernel/cubox-i2ultra b/target/arm/kernel/cubox-i2ultra
index b38283665..21f9d6ded 100644
--- a/target/arm/kernel/cubox-i2ultra
+++ b/target/arm/kernel/cubox-i2ultra
@@ -4,9 +4,10 @@ CONFIG_SMP=y
CONFIG_ARCH_MULTI_V7=y
CONFIG_ARCH_MXC=y
CONFIG_ARCH_MX6=y
-CONFIG_GPIO_PCA953X=y
CONFIG_SOC_IMX6Q=y
CONFIG_SOC_IMX6SL=y
+CONFIG_PAGE_OFFSET=0xC0000000
+CONFIG_LOCAL_TIMERS=y
CONFIG_MXC_DEBUG_BOARD=y
CONFIG_KUSER_HELPERS=y
CONFIG_AEABI=y
@@ -18,4 +19,3 @@ CONFIG_OF=y
CONFIG_PCI_IMX6=y
CONFIG_SERIAL_IMX=y
CONFIG_SERIAL_IMX_CONSOLE=y
-CONFIG_SOC_BUS=y
diff --git a/target/arm/kernel/cubox-i4pro b/target/arm/kernel/cubox-i4pro
index 05adab867..21f9d6ded 100644
--- a/target/arm/kernel/cubox-i4pro
+++ b/target/arm/kernel/cubox-i4pro
@@ -6,6 +6,9 @@ CONFIG_ARCH_MXC=y
CONFIG_ARCH_MX6=y
CONFIG_SOC_IMX6Q=y
CONFIG_SOC_IMX6SL=y
+CONFIG_PAGE_OFFSET=0xC0000000
+CONFIG_LOCAL_TIMERS=y
+CONFIG_MXC_DEBUG_BOARD=y
CONFIG_KUSER_HELPERS=y
CONFIG_AEABI=y
CONFIG_VFP=y
diff --git a/target/arm/sys-available/cubox-i b/target/arm/sys-available/cubox-i
index c9a82d244..cd1362ecd 100644
--- a/target/arm/sys-available/cubox-i
+++ b/target/arm/sys-available/cubox-i
@@ -10,6 +10,7 @@ config ADK_TARGET_SYSTEM_CUBOX_I
select ADK_TARGET_WITH_VGA
select ADK_TARGET_WITH_USB
select ADK_TARGET_WITH_INPUT
+ select ADK_TARGET_WITH_I2C
select ADK_TARGET_KERNEL_ZIMAGE
select ADK_TARGET_WITH_ROOT_RW
select ADK_PACKAGE_U_BOOT_IMX6
diff --git a/target/config/Config.in b/target/config/Config.in
index 15ace24da..09fff28da 100644
--- a/target/config/Config.in
+++ b/target/config/Config.in
@@ -384,6 +384,9 @@ endchoice
config ADK_TARGET_WITH_USB
boolean
+config ADK_TARGET_WITH_I2C
+ boolean
+
config ADK_TARGET_WITH_PCI
boolean
diff --git a/target/linux/Config.in b/target/linux/Config.in
index 50b35ebcd..e44412ae8 100644
--- a/target/linux/Config.in
+++ b/target/linux/Config.in
@@ -21,8 +21,9 @@ source target/linux/config/Config.in.lib
source target/linux/config/Config.in.pm
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.i2c
source target/linux/config/Config.in.dma
+source target/linux/config/Config.in.debug
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index 7cf30c49c..54f129665 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -71,6 +71,9 @@ config ADK_KERNEL_SATA_AHCI_PLATFORM
config ADK_KERNEL_SATA_PMP
boolean
+config ADK_KERNEL_AHCI_IMX
+ boolean
+
config ADK_KERNEL_CONNECTOR
boolean
@@ -156,6 +159,7 @@ config ADK_KERNEL_PATA_IMX
select ADK_KERNEL_BLK_DEV
select ADK_KERNEL_BLK_DEV_SD
select ADK_KERNEL_ATA
+ select ADK_KERNEL_AHCI_IMX
select ADK_KERNEL_SATA_PMP
select ADK_KERNEL_SATA_AHCI_PLATFORM
default y if ADK_TARGET_SYSTEM_CUBOX_I
diff --git a/target/linux/config/Config.in.i2c b/target/linux/config/Config.in.i2c
new file mode 100644
index 000000000..8b67aca72
--- /dev/null
+++ b/target/linux/config/Config.in.i2c
@@ -0,0 +1,31 @@
+config ADK_KERNEL_I2C
+ boolean
+
+config ADK_KERNEL_I2C_CHARDEV
+ boolean
+
+menu "I2C driver support"
+depends on ADK_TARGET_WITH_I2C
+
+config ADK_KERNEL_I2C_IMX
+ prompt ".................................. I2C driver for cubox-i"
+ boolean
+ select ADK_KERNEL_I2C
+ select ADK_KERNEL_I2C_CHARDEV
+ default y if ADK_TARGET_SYSTEM_CUBOX_I
+ default n
+ depends on ADK_TARGET_SYSTEM_CUBOX_I
+ help
+ I2C driver for cubox-i.
+
+config ADK_KPACKAGE_KMOD_SCx200_ACB
+ prompt "kmod-i2c-geode.................... I2C driver for Geode"
+ tristate
+ select ADK_KERNEL_I2C
+ select ADK_KERNEL_I2C_CHARDEV
+ default n
+ depends on ADK_CPU_GEODE
+ help
+ I2C driver for Geode boards.
+
+endmenu
diff --git a/target/linux/config/Config.in.misc b/target/linux/config/Config.in.misc
index 4cec8450a..2a42745ea 100644
--- a/target/linux/config/Config.in.misc
+++ b/target/linux/config/Config.in.misc
@@ -25,12 +25,6 @@ config ADK_KPACKAGE_KMOD_REGMAP_MMIO
config ADK_KERNEL_KEYS
boolean
-config ADK_KERNEL_I2C
- boolean
-
-config ADK_KERNEL_I2C_CHARDEV
- tristate
-
config ADK_KERNEL_RTC_CLASS
boolean
@@ -87,16 +81,6 @@ config ADK_KERNEL_RTC_DRV_CMOS
help
PC CMOS RTC support.
-config ADK_KPACKAGE_KMOD_SCx200_ACB
- prompt "kmod-i2c-geode.................... I2C driver for Geode"
- tristate
- select ADK_KERNEL_I2C
- select ADK_KERNEL_I2C_CHARDEV
- default n
- depends on ADK_CPU_GEODE
- help
- I2C driver for Geode boards.
-
config ADK_KPACKAGE_KMOD_PARPORT
prompt "kmod-parport...................... generic parallel port support"
tristate
diff --git a/target/linux/config/Config.in.usb b/target/linux/config/Config.in.usb
index ce27345cd..a5e9c0149 100644
--- a/target/linux/config/Config.in.usb
+++ b/target/linux/config/Config.in.usb
@@ -57,6 +57,7 @@ config ADK_KPACKAGE_KMOD_USB
default y if ADK_TARGET_SYSTEM_IBM_X40
default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default y if ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
+ default y if ADK_TARGET_SYSTEM_CUBOX_I
default n
help
Universal Serial Bus (USB) is a specification for a serial bus
@@ -180,6 +181,7 @@ config ADK_KPACKAGE_KMOD_USB_EHCI_HCD
default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX2D13
default y if ADK_TARGET_SYSTEM_IBM_X40
default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
+ default y if ADK_TARGET_SYSTEM_CUBOX_I
default n
help
The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
@@ -246,7 +248,6 @@ config ADK_KPACKAGE_KMOD_USB_SERIAL
information on the specifics of the different devices that are
supported, and on how to use them.
-
config ADK_KPACKAGE_KMOD_USB_SERIAL_BELKIN
prompt "kmod-usb-serial-belkin.......... Support for Belkin USB-to-serial converters"
tristate