commit | 5e755c70f11d7b2c56e15499a7f75c20e5561016 | [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 | ae3b320dc7788fcaa6c962885e919f236b40b3d4 [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>