]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi/nand: change BLOCK_SIZE in mksunxiboot to match NAND block size
authorDaniel Kochmański <dkochmanski@turtle-solutions.eu>
Tue, 26 May 2015 15:00:39 +0000 (17:00 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:47:11 +0000 (22:47 +0200)
commit0c8375837bae071775e1aae2c6b655c8178288bc
tree19281265851f2597b7189266acfbec6c4dc56e5b
parent00685ea228600fd48dcb2f840d1bc999ef1c12b1
sunxi/nand: change BLOCK_SIZE in mksunxiboot to match NAND block size

This change is necessary to calculate correct checksum for NAND
boot. Works both for MMC and NAND. Without it BROM rejects boot image
as invalid (bad checksum). (Changes block size from 0x200 to 0x2000).

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
Signed-off-by: Roy Spliet <r.spliet@ultimaker.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
tools/mksunxiboot.c