UBI: Change parsing of size in commands to default to hex
authorStefan Roese <sr@denx.de>
Mon, 24 Nov 2008 07:31:16 +0000 (08:31 +0100)
committerStefan Roese <sr@denx.de>
Mon, 24 Nov 2008 07:31:16 +0000 (08:31 +0100)
commita5c4067017631d903e1afa6ad615f0ce19fea517
tree5d4d38a52c0ebf391280fdeae7fb4eec7b359775
parent8000b086b33a5a81f3f390f37e178db7956dc08b
UBI: Change parsing of size in commands to default to hex

Currently the size parameters of the UBI commands (e.g. "ubi write") are
decoded as decimal instead of hex as default. This patch now interprets
all these values consistantly as hex, as all other standard U-Boot commands
do.

Signed-off-by: Stefan Roese <sr@denx.de>
common/cmd_ubi.c