UBI: Add UBI command support
authorKyungmin Park <kyungmin.park@samsung.com>
Wed, 19 Nov 2008 10:47:05 +0000 (11:47 +0100)
committerStefan Roese <sr@denx.de>
Wed, 19 Nov 2008 19:34:39 +0000 (20:34 +0100)
commit694a0b3f1c0accd0de94b89555155d69f8022824
treed07ef7d8d3d4b40df121780b001819ab6e296d75
parent58be3a1056d88c6d05f3e914389282807e69923a
UBI: Add UBI command support

This patch adds these UBI commands:

ubi part [nand|onenand] [part] - Show or set current partition
ubi info [l[ayout]] -Display volume and UBI layout information
ubi create[vol] volume [size] [type] - Create volume name with size
ubi write[vol] address volume size - Write volume from address with size
ubi read[vol] address volume [size] - Read volume to address with size
ubi remove[vol] volume - Remove volume

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Stefan Roese <sr@denx.de>
common/Makefile
common/cmd_ubi.c [new file with mode: 0644]