]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
gpt: fix partion size limit
authorPiotr Wilczek <p.wilczek@samsung.com>
Sun, 27 Jan 2013 22:59:25 +0000 (22:59 +0000)
committerTom Rini <trini@ti.com>
Wed, 20 Feb 2013 13:52:41 +0000 (08:52 -0500)
commit3e34cf7bffb87f3a96a87a4d1e0a76df7322b3c1
tree39f54d31fe25188dd3b41a228b40690a81bb79cb
parentc8876f1c72ac36879436278892e6c20a93174b6a
gpt: fix partion size limit

Currently, in gpt command, partion size is converted from string
to unsigned long type using 'ustrtol' function. That type limits
the partition size to 4GB.

This patch changes the conversion function to 'ustrtoll' to return
unsigned long long type.

Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
common/cmd_gpt.c