| commit | 485b05ec40031a06077db9c84ae75a36ebd3db25 | [log] [tgz] |
|---|---|---|
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Sat Dec 08 00:51:03 2018 -0500 |
| committer | Chris Ball <chris@printf.net> | Sat Dec 08 00:51:37 2018 -0500 |
| tree | bcd0afb95e24ef3b9495e8f296cda6e3fe9de43b | |
| parent | bd23a79e34ec7f058426027fbcc1b493f960da90 [diff] |
use proper type for RPMB blocks_cnt The JEDEC standard is confusing. The number of max blocks for reading RPMB is determined by CMD23 which can hold an unsigned int and not only u16. It is true that the current maximum is 64K of blocks, yet this may be extended in the future. Let's not apply a limit here which should be checked by the card. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Chris Ball <chris@printf.net>