summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-13 00:30:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-13 00:30:49 +0100
commitb6a5c9e0b1ed79e56e7dc8b3a0b2a61856fda576 (patch)
tree622172c6d4fba89038c9f92d12085fce72268259 /target/linux
parent4129680028eaddf98219126f787b08551bbf7088 (diff)
unify alix support
add hardware profiles for 3 alix boards, but use the same toolchain for all of them. This is just better for maintenance purpose. delete old targets.
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/Config.in1
-rw-r--r--target/linux/config/Config.in.graphics26
-rw-r--r--target/linux/config/Config.in.misc63
-rw-r--r--target/linux/config/Config.in.multimedia2
-rw-r--r--target/linux/config/Config.in.usb12
5 files changed, 92 insertions, 12 deletions
diff --git a/target/linux/Config.in b/target/linux/Config.in
index d840e9014..2d7157885 100644
--- a/target/linux/Config.in
+++ b/target/linux/Config.in
@@ -2,6 +2,7 @@ source target/linux/config/Config.in.block
source target/linux/config/Config.in.fs
source target/linux/config/Config.in.netdevice
source target/linux/config/Config.in.usb
+source target/linux/config/Config.in.graphics
source target/linux/config/Config.in.input
source target/linux/config/Config.in.pcmcia
source target/linux/config/Config.in.network
diff --git a/target/linux/config/Config.in.graphics b/target/linux/config/Config.in.graphics
new file mode 100644
index 000000000..0bd468de1
--- /dev/null
+++ b/target/linux/config/Config.in.graphics
@@ -0,0 +1,26 @@
+config ADK_KERNEL_FB
+ boolean
+ default n
+
+config ADK_KERNEL_FRAMEBUFFER_CONSOLE
+ boolean
+ default n
+
+config ADK_KERNEL_FB_GEODE
+ boolean
+ default n
+
+menu "Graphic devices support"
+
+config ADK_KERNEL_FB_GEODE_LX
+ prompt "geode-fblx...................... Framebuffer support for ALIX boards with VGA"
+ tristate
+ select ADK_KERNEL_FB
+ select ADK_KERNEL_FRAMEBUFFER_CONSOLE
+ select ADK_KERNEL_FB_GEODE
+ default y if ADK_HARDWARE_ALIX1C
+ default n
+ help
+ Framebuffer support for ALIX boards.
+
+endmenu
diff --git a/target/linux/config/Config.in.misc b/target/linux/config/Config.in.misc
index 627a691bc..8663f30e5 100644
--- a/target/linux/config/Config.in.misc
+++ b/target/linux/config/Config.in.misc
@@ -4,20 +4,67 @@ config ADK_LINUX_INITRAMFS_BUILTIN
boolean
default n
-config ADK_KERNEL_RFKILL
+config ADK_KERNEL_MISC_DEVICES
boolean
default n
-config ADK_KERNEL_WATCHDOG
+config ADK_KERNEL_CS5535_MFGPT
boolean
- default y if ADK_TARGET_WITH_WATCHDOG
default n
-config ADK_KERNEL_I2C_CHARDEV
+config ADK_KERNEL_CS5535_CLOCK_EVENT_SRC
boolean
default n
+config ADK_KERNEL_RFKILL
+ boolean
+ default n
+
+config ADK_KERNEL_WATCHDOG
+ boolean
+ default n
+
+config ADK_KERNEL_I2C_CHARDEV
+ boolean
+ default n
+
+config ADK_KERNEL_RTC_CLASS
+ boolean
+ default n
+
+config ADK_KERNEL_RTC_HCTOSYS
+ boolean
+ default n
+
+config ADK_KERNEL_RTC_INTF_DEV
+ boolean
+ default n
+
menu "Miscellaneous devices support"
+
+config ADK_KERNEL_GEODE_WDT
+ prompt "geode-wdt......................... Geode Hardware Watchdog"
+ tristate
+ select ADK_KERNEL_WATCHDOG
+ select ADK_KERNEL_MISC_DEVICES
+ select ADK_KERNEL_CS5535_MFGPT
+ select ADK_KERNEL_CS5535_CLOCK_EVENT_SRC
+ default y if ADK_HARDWARE_ALIX2D2
+ default y if ADK_HARDWARE_ALIX2D13
+ default n
+ help
+ Geode watchdog.
+
+config ADK_KERNEL_RTC_DRV_CMOS
+ prompt "rtc-cmos.......................... RTC support for PC CMOS"
+ tristate
+ select ADK_KERNEL_RTC_CLASS
+ select ADK_KERNEL_RTC_HCTOSYS
+ select ADK_KERNEL_RTC_INTF_DEV
+ default y if ADK_TARGET_WITH_RTC
+ default n
+ help
+ RTC support for ALIX boards.
config ADK_KPACKAGE_KMOD_I2C
prompt "kmod-i2c.......................... I2C support"
@@ -31,7 +78,7 @@ config ADK_KPACKAGE_KMOD_SCx200_ACB
prompt "kmod-i2c-geode.................... I2C driver for Geode"
tristate
depends on ADK_KPACKAGE_KMOD_I2C
- depends on ADK_LINUX_X86_ALIX1C || ADK_LINUX_X86_ALIX2D || ADK_LINUX_X86_ALIX2D13
+ depends on ADK_LINUX_X86_ALIX
default n
help
I2C driver for Geode boards.
@@ -96,7 +143,7 @@ config ADK_KPACKAGE_KMOD_EEPROM_93CX6
tristate
depends on ADK_KPACKAGE_KMOD_MAC80211
depends on !ADK_LINUX_CRIS_FOXBOARD && !ADK_LINUX_MIPS64_LEMOTE
- default n
- help
-
+ default n
+ help
+
endmenu
diff --git a/target/linux/config/Config.in.multimedia b/target/linux/config/Config.in.multimedia
index 330d41e67..66340e373 100644
--- a/target/linux/config/Config.in.multimedia
+++ b/target/linux/config/Config.in.multimedia
@@ -99,7 +99,7 @@ config ADK_KPACKAGE_KMOD_SND_CS5535AUDIO
prompt "kmod-sound-alsa-cs5535......... ALSA AMD CS5535 driver"
depends on ADK_KPACKAGE_KMOD_SND
select ADK_KPACKAGE_KMOD_SND_AC97_CODEC
- depends on ADK_LINUX_X86_ALIX1C || ADK_LINUX_MIPS64_LEMOTE || ADK_NATIVE
+ depends on ADK_LINUX_X86_ALIX || ADK_LINUX_MIPS64_LEMOTE || ADK_NATIVE
tristate
default n
help
diff --git a/target/linux/config/Config.in.usb b/target/linux/config/Config.in.usb
index dc25cb4b8..d9a8020b0 100644
--- a/target/linux/config/Config.in.usb
+++ b/target/linux/config/Config.in.usb
@@ -28,7 +28,9 @@ config ADK_KERNEL_USB_UHCI_HCD
config ADK_KPACKAGE_KMOD_USB
prompt "kmod-usb......................... USB support"
tristate
- default y if ADK_LINUX_ALIX
+ default y if ADK_HARDWARE_ALIX1C
+ default y if ADK_HARDWARE_ALIX2D2
+ default y if ADK_HARDWARE_ALIX2D13
default n
depends on !(ADK_LINUX_CRIS_FOXBOARD || ADK_LINUX_ARM_FOXG20 || ADK_KERNEL_USB)
select ADK_KERNEL_NLS
@@ -80,7 +82,9 @@ config ADK_KPACKAGE_KMOD_USB_UHCI_HCD
config ADK_KPACKAGE_KMOD_USB_OHCI_HCD
prompt "kmod-usb-ohci................... Support for OHCI controllers"
tristate
- default y if ADK_LINUX_ALIX
+ default y if ADK_HARDWARE_ALIX1C
+ default y if ADK_HARDWARE_ALIX2D2
+ default y if ADK_HARDWARE_ALIX2D13
default n
depends on !ADK_LINUX_CRIS_FOXBOARD
depends on ADK_KPACKAGE_KMOD_USB
@@ -126,7 +130,9 @@ config ADK_KPACKAGE_KMOD_USB_EHCI_HCD
prompt "kmod-usb-ehci................... Support for USB 2.0 controllers"
tristate
depends on !(ADK_LINUX_CRIS_FOXBOARD || ADK_KERNEL_USB_EHCI_HCD)
- default y if ADK_LINUX_ALIX
+ default y if ADK_HARDWARE_ALIX1C
+ default y if ADK_HARDWARE_ALIX2D2
+ default y if ADK_HARDWARE_ALIX2D13
default n
depends on ADK_KPACKAGE_KMOD_USB
select ADK_PACKAGE_KMOD_USB_CONTROLLER