aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-16 18:54:38 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-16 18:54:38 +0000
commit336845db7c4738e944325ebc87fc574f3ff42b9e (patch)
treefb90ce54ec95d031da1ca752312fafc00539e7dc
parent9d0847ec3872971ea0f59ea537eb6f1663187028 (diff)
downloadupstream-336845db7c4738e944325ebc87fc574f3ff42b9e.tar.gz
upstream-336845db7c4738e944325ebc87fc574f3ff42b9e.tar.bz2
upstream-336845db7c4738e944325ebc87fc574f3ff42b9e.zip
lantiq BTHOMEHUBV2B - update dts for automatic detection of ubi partition and rootfs type
This patches the BTHOMEHUB2B device tree to make use of the new code for automatic detection of the ubi partition and the rootfs type within it. Gets rid of the ugly alternative bootargs lines. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> Acked-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41214 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/lantiq/dts/BTHOMEHUBV2B.dts7
1 files changed, 2 insertions, 5 deletions
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
index 329e149911..d051cd70d8 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
@@ -6,10 +6,7 @@
model = "BTHOMEHUBV2B - BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
chosen {
- // uncomment for overlayfs on top of ubi
- bootargs = "console=ttyLTQ0,115200 init=/etc/preinit ubi.mtd=rootfs_ubi,256 root=/dev/mtdblock8";
- // uncomment for ubifs
-// bootargs = "console=ttyLTQ0,115200 init=/etc/preinit ubi.mtd=rootfs_ubi,256 root=ubi0:rootfs rootfstype=ubifs";
+ bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
};
memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
@@ -88,7 +85,7 @@
};
partition@164000 {
- label = "rootfs_ubi";
+ label = "ubi";
reg = <0x164000 0x1E9C000>;
};