lantiq: DGN3500 cleanups
authorJohn Crispin <john@openwrt.org>
Sun, 18 Jan 2015 09:41:04 +0000 (09:41 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 18 Jan 2015 09:41:04 +0000 (09:41 +0000)
This patch builds on the previous three to streamline support for the
Netgear DGN3500.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 44032

target/linux/lantiq/base-files/etc/uci-defaults/02_network
target/linux/lantiq/dts/DGN3500.dtsi

index f9cac7c4403230d085180542665d729c5ec60051..5997bf5d5bdd9bff36ebb9f12467c0431d9d5008 100644 (file)
@@ -120,8 +120,6 @@ VG3503J)
        ;;
 
 DGN3500*)
-       lan_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
-       wan_mac=$(macaddr_add "$lan_mac" 1)
        ucidef_set_interface_lan "eth0.1"
        ucidef_add_switch "switch0" "1" "1"
        ucidef_add_switch_vlan "switch0" "1" "3 2 1 0 5t"
index e77d823ae303013de06531ca7c6367974910a445..a79ed9f6c9c8a09fb25db55d36dedc5bf7f0250d 100644 (file)
@@ -2,7 +2,7 @@
 
 / {
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs-append = "root=/dev/mtdblock5 console=ttyLTQ0,115200";
        };
 
        memory@0 {