commit | f0501e81fbaa51cfc8c28c60bc3fc7965fde94f4 | [log] [tgz] |
---|---|---|
author | Rafał Miłecki <zajec5@gmail.com> | Sat Dec 21 19:39:12 2013 +0100 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Jan 07 10:07:37 2014 -0800 |
tree | 7a280e4abc5182561764979c539bd55a706d0494 | |
parent | 4f8aaf72287578c846ed7ac8c6114aacbf416e45 [diff] |
mtd: bcm47xxpart: alternative MAGIC for board_data partition Some devices (like WNDR3700v3) have board_data without MPFR magic, some extra header or extra NVRAM around 0x100. In such case we have to look for another magic which is BD 0B 0D BD (BD probably stands for Board Data). It's located "far far away", so instead of extending buffer add another mtd_read. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>