mtd: add CRC signature to RedBoot partition map
authorDaniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
Sat, 1 Sep 2018 01:14:24 +0000 (18:14 -0700)
committerPetr Štetiar <ynezz@true.cz>
Wed, 17 Jul 2019 20:59:29 +0000 (22:59 +0200)
commitfd104daa2f818d39d9b53476f7e099fc481ce783
tree9fd93e8e13eeaee6802d3e280cf08149286affa8
parent261df949faad6dda43454868628f79265e9cc5e7
mtd: add CRC signature to RedBoot partition map

The code for calculating the CRC32 signatures for RedBoot FIS partitions
was already included, but for unknown reasons, it was never invoked. Some
bootloaders enforce checking these for loaded kernels, so they should be
written. This patch does so.

Tested-by: Brian Gonyer <bgonyer@gmail.com>
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
package/system/mtd/src/fis.c
package/system/mtd/src/fis.h
package/system/mtd/src/mtd.c