 +config interface lan
 +	option ifname	eth0
 +	option proto	dhcp
-Index: target/linux/brcm2708/base-files/lib/upgrade/platform.sh
-===================================================================
---- target/linux/brcm2708/base-files/lib/upgrade/platform.sh	(revision 0)
-+++ target/linux/brcm2708/base-files/lib/upgrade/platform.sh	(working copy)
-@@ -0,0 +1,51 @@
-+USE_REFRESH=1
-+RAMFS_COPY_BIN=/usr/sbin/partprobe
-+
-+platform_check_image() {
-+	[ "$ARGC" -gt 1 ] && return 1
-+
-+	case "$(get_magic_word "$1")" in
-+		0000) return 0;;
-+		*)
-+			echo "Invalid image type"
-+			return 1
-+		;;
-+	esac
-+}
-+
-+platform_refresh_partitions() {
-+	partprobe /dev/mmcblk0
-+}
-+
-+platform_copy_config() {
-+	# remounting corrupts the filesystem, rely on config_restore
-+	return 0
-+	mount -t ext4 -o ro,noatime /dev/mmcblk0p2 /mnt && \
-+	  mount -t ext4 -o remount,rw,noatime /dev/mmcblk0p2 /mnt && \
-+	  cp -af "$CONF_TAR" /mnt/ && \
-+	  umount /mnt
-+}
-+
-+platform_do_upgrade() {
-+	sync
-+	# If not saving the configuration, wipe the config partition
-+	[ $SAVE_CONFIG -eq 0 -a -b /dev/mmcblk0p4 ] && {
-+  	  # Should do mkfs.ext4 here but isn't on ramdisk
-+  	  dd if=/dev/zero of=/dev/mmcblk0p4 bs=1M count=1 conv=fsync
-+	}
-+	dd if=/dev/zero of=/dev/mmcblk0 bs=4M count=10 conv=fsync
-+	get_image "$@" | dd of=/dev/mmcblk0 bs=4M conv=fsync
-+	sleep 1
-+}
-+
-+bcm2708_umount_all() {
-+	cd /tmp
-+	echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
-+	lmclient LMDC,0
-+	umount /dev/mmcblk0p1
-+	umount /dev/mmcblk0p4
-+	umount /sys/kernel/debug
-+}
-+
-+append sysupgrade_pre_upgrade bcm2708_umount_all
-+
 Index: target/linux/brcm2708/Makefile
 ===================================================================
 --- target/linux/brcm2708/Makefile	(revision 36720)

 CONFIG_BCM2708_GPIO=y
 # CONFIG_BCM2708_NOL2CACHE is not set
 CONFIG_BCM2708_VCHIQ=y
@@ -41,6 +39,7 @@
 CONFIG_BLK_DEV_SD=y
 # CONFIG_CACHE_L2X0 is not set
 CONFIG_CLKDEV_LOOKUP=y
+CONFIG_CLKSRC_MMIO=y
 CONFIG_CMDLINE="dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext3 rootwait"
 CONFIG_CMDLINE_FROM_BOOTLOADER=y
 CONFIG_CONFIGFS_FS=y
@@ -54,12 +53,22 @@
 CONFIG_CPU_COPY_V6=y
 CONFIG_CPU_CP15=y
 CONFIG_CPU_CP15_MMU=y

 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 CONFIG_INPUT=y
@@ -151,16 +166,6 @@
 CONFIG_KERNEL_GZIP=y
 # CONFIG_KERNEL_XZ is not set
 CONFIG_KTIME_SCALAR=y
