summaryrefslogtreecommitdiffstats
path: root/common/cmd_ubi.c
Commit message (Collapse)AuthorAgeFilesLines
* Coding style cleanup, update CHANGELOG.Wolfgang Denk2008-12-161-1/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* UBI: Set ubi_dev.type back to DEV_TYPE_NONE upon failing initializationStefan Roese2008-12-101-0/+1
| | | | | | | | | | With this patch we set the type back to NONE upon failing UBI partition initialization. Otherwise further calls to the UBI subsystem would try to really access the non-existing UBI partition. Thanks to Michael Lawnick for pointing this out. Signed-off-by: Stefan Roese <sr@denx.de>
* UBI: Fix size parsing in "ubi create"Stefan Roese2008-12-091-1/+1
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* UBI: Enable re-initializing of the "ubi part" commandStefan Roese2008-12-091-0/+11
| | | | | | | With this patch now, the user can call "ubi part" multiple times to re-connect the UBI device to another MTD partition. Signed-off-by: Stefan Roese <sr@denx.de>
* UBI: Add proof-of-concept CFI flash supportPiotr Ziecik2008-11-241-1/+9
| | | | | | | With this patch UBI can be used on CFI flash chips. Signed-off-by: Piotr Ziecik <kosmo@semihalf.com> Signed-off-by: Stefan Roese <sr@denx.de>
* UBI: Change parsing of size in commands to default to hexStefan Roese2008-11-241-32/+4
| | | | | | | | | 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>
* UBI: Add UBI command supportKyungmin Park2008-11-191-0/+628
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>
OpenPOWER on IntegriCloud