aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-01-18 09:41:04 +0000
committerJohn Crispin <blogic@openwrt.org>2015-01-18 09:41:04 +0000
commit1bf7220e1fb205ac16941b183be3a8db0d0e4e5a (patch)
treee0e565df9cb394893e8392a6020c3852a85d7dda /target/linux/lantiq
parentc5d0bb8d0cb89140bef81455757a339050c0bbf5 (diff)
downloadupstream-1bf7220e1fb205ac16941b183be3a8db0d0e4e5a.tar.gz
upstream-1bf7220e1fb205ac16941b183be3a8db0d0e4e5a.tar.bz2
upstream-1bf7220e1fb205ac16941b183be3a8db0d0e4e5a.zip
lantiq: DGN3500 cleanups
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44032 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/base-files/etc/uci-defaults/02_network2
-rw-r--r--target/linux/lantiq/dts/DGN3500.dtsi2
2 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
index f9cac7c440..5997bf5d5b 100644
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -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"
diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi
index e77d823ae3..a79ed9f6c9 100644
--- a/target/linux/lantiq/dts/DGN3500.dtsi
+++ b/target/linux/lantiq/dts/DGN3500.dtsi
@@ -2,7 +2,7 @@
/ {
chosen {
- bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+ bootargs-append = "root=/dev/mtdblock5 console=ttyLTQ0,115200";
};
memory@0 {