]> git.sur5r.net Git - u-boot/commit
cmd_ubi: use int64_t volume size for 'ubi create'
authorPaul Burton <paul.burton@imgtec.com>
Wed, 4 Sep 2013 14:16:58 +0000 (15:16 +0100)
committerScott Wood <scottwood@freescale.com>
Wed, 9 Oct 2013 17:52:20 +0000 (12:52 -0500)
commitdd7185f1764fb8ed93940c2ac44cd6c400ebae7e
tree5414670c8fedffe895d031d983487dca08f46e11
parent39ac34473f3c96e77cbe03a49141771ed1639486
cmd_ubi: use int64_t volume size for 'ubi create'

int64_t matches the bytes field in struct ubi_mkvol_req to which the
size is assigned. With the prior signed 32 bit integer, volumes were
restricted to being less than 2GiB in size.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Stefan Roese <sr@denx.de>
common/cmd_ubi.c