Files
u-boot-tk1-som/tools
Stefan Agner 14fb5b252a tools/env: complete environment device config early
Currently flash_read completes a crucial part of the environment
device configuration, the device type (mtd_type). This is rather
confusing as flash_io calls flash_read conditionally, and one might
think flash_write, which also makes use of mtd_type, gets called
before flash_read. But since flash_io is always called with O_RDONLY
first, this is not actually the case in reality.

However, it is much cleaner to complete and verify the config early
in parse_config. This also prepares the code for further extension.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Andreas Fenkart
2016-07-22 14:46:20 -04:00
..
2016-05-02 18:37:09 -04:00
2016-05-02 18:37:09 -04:00
2016-03-22 12:16:13 -04:00
2009-11-24 23:43:18 +01:00
2015-11-29 16:02:44 +01:00
2016-02-21 11:09:19 +01:00
2009-04-28 01:16:46 +02:00
2015-11-16 17:22:18 -05:00