commit | ff95e579cf53b9d621e0754ea869a703eec6cdd1 | [log] [tgz] |
---|---|---|
author | Andreas Fenkart <andreas.fenkart@digitalstrom.com> | Mon Aug 29 23:16:59 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Oct 06 20:57:35 2016 -0400 |
tree | 55901d94bebc58f0a538ca02f41a1575754bde5a | |
parent | c6012bbce6ce9ac3162aeb841b2502ba71e52af6 [diff] |
tools/env: lookup dev_type directly from flash_read_buf/flash_write_buf flash_write_buf already looks up size/offset/#sector from struct envdev_s. It can look up mtd_type as well. Same applies to flash_read_buf. Makes the interface simpler Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com>