summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/xway
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-04-03 14:26:54 +0000
committerJohn Crispin <john@openwrt.org>2014-04-03 14:26:54 +0000
commit709cab91d217a3ba31629b312a28cd6daef77319 (patch)
tree05119562d83e4678b8ffcd59e60c8f7637ade9ec /target/linux/lantiq/xway
parent469b8297fab3a589da4e598cb915e75dfd87dcba (diff)
downloadmtk-20170518-709cab91d217a3ba31629b312a28cd6daef77319.zip
mtk-20170518-709cab91d217a3ba31629b312a28cd6daef77319.tar.gz
mtk-20170518-709cab91d217a3ba31629b312a28cd6daef77319.tar.bz2
lantiq: BT Home Hub 2B support - board support
Board support patch for BT Home Hub 2B Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 40370
Diffstat (limited to 'target/linux/lantiq/xway')
-rw-r--r--target/linux/lantiq/xway/config-default6
-rw-r--r--target/linux/lantiq/xway/profiles/bt.mk12
-rw-r--r--target/linux/lantiq/xway/target.mk2
3 files changed, 19 insertions, 1 deletions
diff --git a/target/linux/lantiq/xway/config-default b/target/linux/lantiq/xway/config-default
index 7000fae..9d71184 100644
--- a/target/linux/lantiq/xway/config-default
+++ b/target/linux/lantiq/xway/config-default
@@ -15,7 +15,13 @@ CONFIG_IRQ_WORK=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_M25PXX_USE_FAST_READ=y
CONFIG_MTD_M25P80=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_ECC=y
+CONFIG_MTD_NAND_PLATFORM=y
+CONFIG_MTD_NAND_XWAY=y
# CONFIG_MTD_PHYSMAP_OF is not set
+# CONFIG_MTD_SM_COMMON is not set
+CONFIG_MTD_SPLIT_UIMAGE_FW=y
CONFIG_NLS=y
# CONFIG_PROC_DEVICETREE is not set
# CONFIG_RCU_STALL_COMMON is not set
diff --git a/target/linux/lantiq/xway/profiles/bt.mk b/target/linux/lantiq/xway/profiles/bt.mk
new file mode 100644
index 0000000..73ec865
--- /dev/null
+++ b/target/linux/lantiq/xway/profiles/bt.mk
@@ -0,0 +1,12 @@
+define Profile/BTHOMEHUBV2B
+ NAME:=BT Home Hub 2B
+ PACKAGES:=kmod-ltq-hcd-danube kmod-ledtrig-usbdev \
+ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
+ kmod-ltq-adsl-danube-fw-a kmod-ltq-atm-danube \
+ kmod-ltq-deu-danube \
+ ltq-adsl-app ppp-mod-pppoa \
+ kmod-ath9k wpad-mini \
+ swconfig
+endef
+
+$(eval $(call Profile,BTHOMEHUBV2B))
diff --git a/target/linux/lantiq/xway/target.mk b/target/linux/lantiq/xway/target.mk
index 1a8bbb4..1b54ee2 100644
--- a/target/linux/lantiq/xway/target.mk
+++ b/target/linux/lantiq/xway/target.mk
@@ -1,7 +1,7 @@
ARCH:=mips
SUBTARGET:=xway
BOARDNAME:=XWAY
-FEATURES:=squashfs atm mips16
+FEATURES:=squashfs atm mips16 jffs2_nand
CPU_TYPE:=34kc
CPU_SUBTYPE:=dsp