From f6f0e822cb9bf4670d319371c9bdfa33a928b6c9 Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 26 Apr 2013 16:55:40 +0000 Subject: at91: upgrade to kernel 3.8.7 and use devicetree This upgrades the AT91 target to 3.8.7, and migrates to device tree. This allows a single kernel to be built for most at91 variants which simplifies things quite a bit. The immediate result is that all subtargets are nuked, and any boards without dts files are no longer supported, though the target now includes more boards than before. The adc driver was also nuked as 3.8.7 includes a new one under the IIO subsystem. Signed-off-by: Adam Porter Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36452 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/at91/profiles/00-default.mk | 16 ++++++ target/linux/at91/profiles/atmel.mk | 86 ++++++++++++++++++++++++++++++++ target/linux/at91/profiles/calamp.mk | 23 +++++++++ 3 files changed, 125 insertions(+) create mode 100644 target/linux/at91/profiles/00-default.mk create mode 100644 target/linux/at91/profiles/atmel.mk create mode 100644 target/linux/at91/profiles/calamp.mk (limited to 'target/linux/at91/profiles') diff --git a/target/linux/at91/profiles/00-default.mk b/target/linux/at91/profiles/00-default.mk new file mode 100644 index 0000000000..3ff040d2e4 --- /dev/null +++ b/target/linux/at91/profiles/00-default.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Default + NAME:=Default Profile +endef + +define Profile/Default/Description + Default package set compatible with most boards. +endef + +$(eval $(call Profile,Default)) diff --git a/target/linux/at91/profiles/atmel.mk b/target/linux/at91/profiles/atmel.mk new file mode 100644 index 0000000000..4b14f939ee --- /dev/null +++ b/target/linux/at91/profiles/atmel.mk @@ -0,0 +1,86 @@ +# +# Copyright (C) 2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/AT91SAM9263EK + NAME:=Atmel AT91SAM9263-EK +endef +define Profile/AT91SAM9263EK/Description + Atmel AT91SAM9263-EK eval board +endef +$(eval $(call Profile,AT91SAM9263EK)) + + +define Profile/AT91SAM9G15EK + NAME:=Atmel AT91SAM9G15-EK +endef +define Profile/AT91SAM9G15EK/Description + Atmel AT91SAM9G15-EK eval board +endef +$(eval $(call Profile,AT91SAM9G15EK)) + + +define Profile/AT91SAM9G20EK + NAME:=Atmel AT91SAM9G20-EK +endef +define Profile/AT91SAM9G20EK/Description + Atmel AT91SAM9G20-EK eval board +endef +$(eval $(call Profile,AT91SAM9G20EK)) + + +define Profile/AT91SAM9G20EK-2MMC + NAME:=Atmel AT91SAM9G20-EK 2MMC +endef +define Profile/AT91SAM9G20EK-2MMC/Description + Atmel AT91SAM9G20-EK eval board with 2 MMC +endef +$(eval $(call Profile,AT91SAM9G20EK-2MMC)) + + +define Profile/AT91SAM9G25EK + NAME:=Atmel AT91SAM9G25-EK +endef +define Profile/AT91SAM9G25EK/Description + Atmel AT91SAM9G25-EK eval board +endef +$(eval $(call Profile,AT91SAM9G25EK)) + + +define Profile/AT91SAM9G35EK + NAME:=Atmel AT91SAM9G35-EK +endef +define Profile/AT91SAM9G35EK/Description + Atmel AT91SAM9G35-EK eval board +endef +$(eval $(call Profile,AT91SAM9G35EK)) + + +define Profile/AT91SAM9M10G45EK + NAME:=Atmel AT91SAM9M10G45-EK +endef +define Profile/AT91SAM9M10G45EK/Description + Atmel AT91SAM9M10G45-EK eval board +endef +$(eval $(call Profile,AT91SAM9M10G45EK)) + + +define Profile/AT91SAM9X25EK + NAME:=Atmel AT91SAM9X25-EK +endef +define Profile/AT91SAM9X25EK/Description + Atmel AT91SAM9X25-EK eval board +endef +$(eval $(call Profile,AT91SAM9X25EK)) + + +define Profile/AT91SAM9X35EK + NAME:=Atmel AT91SAM9X35-EK +endef +define Profile/AT91SAM9X35EK/Description + Atmel AT91SAM9X35-EK eval board +endef +$(eval $(call Profile,AT91SAM9X35EK)) diff --git a/target/linux/at91/profiles/calamp.mk b/target/linux/at91/profiles/calamp.mk new file mode 100644 index 0000000000..33f78e17ac --- /dev/null +++ b/target/linux/at91/profiles/calamp.mk @@ -0,0 +1,23 @@ +# +# Copyright (C) 2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/LMU5000 + NAME:=CalAmp LMU5000 + PACKAGES:= \ + kmod-rtc-pcf2123 \ + kmod-usb-acm \ + kmod-usb-serial \ + kmod-usb-serial-option \ + kmod-usb-serial-sierrawireless \ + kmod-gpio-mcp23s08 +endef + +define Profile/LMU5000/Description + CalAmp LMU5000 +endef + +$(eval $(call Profile,LMU5000)) -- cgit v1.2.3