From 819d24b2aea286dba2b3217a57147409721c8486 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 1 Feb 2011 14:37:35 +0000 Subject: [lantiq] * adds profiles to the kernel * fixes 2 compile errors in the usb driver * ioports were not allocated properly git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25278 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/lantiq/xway/config-default | 4 ++++ target/linux/lantiq/xway/profiles/000-generic.mk | 6 ++++++ target/linux/lantiq/xway/profiles/001-lantiq.mk | 22 ++++++++++++++++++++++ target/linux/lantiq/xway/profiles/002-arcadyan.mk | 13 +++++++++++++ target/linux/lantiq/xway/target.mk | 5 ++--- 5 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 target/linux/lantiq/xway/profiles/000-generic.mk create mode 100644 target/linux/lantiq/xway/profiles/001-lantiq.mk create mode 100644 target/linux/lantiq/xway/profiles/002-arcadyan.mk (limited to 'target/linux/lantiq/xway') diff --git a/target/linux/lantiq/xway/config-default b/target/linux/lantiq/xway/config-default index 30d0e3f941..31cc568641 100644 --- a/target/linux/lantiq/xway/config-default +++ b/target/linux/lantiq/xway/config-default @@ -4,6 +4,10 @@ CONFIG_AR8216_PHY=y CONFIG_HAVE_IDE=y CONFIG_HW_HAS_PCI=y CONFIG_IMAGE_CMDLINE_HACK=y +CONFIG_INPUT=y +CONFIG_INPUT_EVDEV=y +# CONFIG_INPUT_GPIO_BUTTONS is not set +CONFIG_INPUT_POLLDEV=y # CONFIG_ISDN is not set CONFIG_LANTIQ_ETOP=y CONFIG_LANTIQ_MACH_ARV45XX=y diff --git a/target/linux/lantiq/xway/profiles/000-generic.mk b/target/linux/lantiq/xway/profiles/000-generic.mk new file mode 100644 index 0000000000..787a74fba2 --- /dev/null +++ b/target/linux/lantiq/xway/profiles/000-generic.mk @@ -0,0 +1,6 @@ +define Profile/Generic + NAME:=Generic - all boards + PACKAGES:=kmod-leds-gpio button-hotplug +endef + +$(eval $(call Profile,Generic)) diff --git a/target/linux/lantiq/xway/profiles/001-lantiq.mk b/target/linux/lantiq/xway/profiles/001-lantiq.mk new file mode 100644 index 0000000000..cf1c559b6b --- /dev/null +++ b/target/linux/lantiq/xway/profiles/001-lantiq.mk @@ -0,0 +1,22 @@ +define Profile/EASY50712 + NAME:=EASY50712 + PACKAGES:= kmod-usb-core kmod-usb-dwc-otg kmod-leds-gpio +endef + +define Profile/EASY50712/Description + Lantiq EASY50712 evalkit +endef + +$(eval $(call Profile,EASY50712)) + +define Profile/EASY50812 + NAME:=EASY50812 + PACKAGES:= kmod-usb-core kmod-usb-dwc-otg kmod-leds-gpio +endef + +define Profile/EASY50812/Description + Lantiq EASY50812 evalkit +endef + +$(eval $(call Profile,EASY50812)) + diff --git a/target/linux/lantiq/xway/profiles/002-arcadyan.mk b/target/linux/lantiq/xway/profiles/002-arcadyan.mk new file mode 100644 index 0000000000..5575766f19 --- /dev/null +++ b/target/linux/lantiq/xway/profiles/002-arcadyan.mk @@ -0,0 +1,13 @@ +define Profile/ARV752DPW22 + NAME:=ARV752DPW22 - Arcor Easybox 803 + PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-uhci kmod-usb-dwc-otg \ + kmod-ledtrig-netdev kmod-ledtrig-usbdev kmod-leds-gpio kmod-button-hotplug \ + ltq-dsl-firmware-b +endef + +define Profile/ARV752DPW22/Description + Package set optimized for the ARV752PW22 +endef + +$(eval $(call Profile,ARV752DPW22)) + diff --git a/target/linux/lantiq/xway/target.mk b/target/linux/lantiq/xway/target.mk index e2e2a6f12b..7cc0d25c97 100644 --- a/target/linux/lantiq/xway/target.mk +++ b/target/linux/lantiq/xway/target.mk @@ -3,9 +3,8 @@ SUBTARGET:=xway BOARDNAME:=Xway FEATURES:=squashfs jffs2 atm -DEFAULT_PACKAGES+=uboot-lantiq-easy50712 kmod-pppoa ppp-mod-pppoa linux-atm atm-tools br2684ctl ifxmips-dsl-api ifxmips-dsl-control ifx-tapidemo +DEFAULT_PACKAGES+=kmod-pppoa ppp-mod-pppoa linux-atm atm-tools br2684ctl kmod-ltq-dsl ltq-dsl-app define Target/Description - Lantiq XWAY (danube/twinpass/ar9) + Lantiq XWAY (danube/twinpass/ar9/ase) endef - -- cgit v1.2.3