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>

SVN-Revision: 41214
This commit is contained in:
John Crispin 2014-06-16 18:54:38 +00:00
parent e6c46554bb
commit 85ca75decd

View File

@ -6,10 +6,7 @@
model = "BTHOMEHUBV2B - BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */ model = "BTHOMEHUBV2B - BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
chosen { chosen {
// uncomment for overlayfs on top of ubi bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
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";
}; };
memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */ memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
@ -88,7 +85,7 @@
}; };
partition@164000 { partition@164000 {
label = "rootfs_ubi"; label = "ubi";
reg = <0x164000 0x1E9C000>; reg = <0x164000 0x1E9C000>;
}; };