commit | 7e71ce2c13840f05422826a020da3956232f9f40 | [log] [tgz] |
---|---|---|
author | Avery Pennarun <apenwarr@gmail.com> | Sat Jun 08 03:53:05 2013 -0400 |
committer | Avery Pennarun <apenwarr@gmail.com> | Sat Jun 08 03:53:05 2013 -0400 |
tree | d1c0a064d008f4a37081ae455a60345bd38119f8 | |
parent | 00b6aefbf6cbde4c76a36775f104bf8cfa2e54c4 [diff] |
Remove hardcoded mtdblock number and simplify the code. With this change, we depend on a boot script setting up /dev/mtd/hnvram as a symlink to the right mtd block device, but now it'll work even if the hnvram isn't always partition mtdblock1. Also simplify the code: it was doing a bunch of unnecessary junk to write to the flash, when it can just simply write to the flash. Change-Id: Ie7bf0b6b9be5cdbe065ae9965bd0df8a3ade17df