Linus Walleij <[email protected]> [2019-05-20 22:25:21]:
Hi,
I don't want to drag out more of your time so,
> +platform_find_part_size() {
> + local first dev size erasesize name
> + while read dev size erasesize name; do
> + name=${name#'"'}; name=${name%'"'}
> + [ "$name" = "$1" ] && {
> + echo "$size"
> + break
> + }
> + done < /proc/mtd
> +}
I've removed this (as we've agreed in v2)
> +platform_do_upgrade() {
> + local board=$(board_name)
> +
> + v "board=$board"
Fixed this leftover.
> + case "$board" in
> + dlink,dir-685 )
> + PART_NAME=firmware
> + default_do_upgrade "$ARGV"
> + ;;
> + *)
> +
> + ;;
> + esac
Cleaned up this.
> @@ -143,9 +144,11 @@ define Device/dlink_dir-685
> + SUPPORTED_DEVICES += dlink,dir-685
Removed this.
> endef
> TARGET_DEVICES += dlink_dir-685
And merged[1] it into my staging tree, so please check it and let me know if
it's ok with you or if you prefer to go with v4, thanks.
1. https://git.openwrt.org/5f456d7acc
-- ynezz
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel