summaryrefslogtreecommitdiffstats
path: root/commands/ubi.c
Commit message (Collapse)AuthorAgeFilesLines
* UBI: reimport UBI from Linux v3.10Sascha Hauer2013-07-251-1/+1
| | | | | | | | | | | This is a fresh UBI import from Linux v3.10 This is done mainly to get fastmap support. This was tested with the i.MX nand driver, the MXS nand driver and on CFI NOR flash. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ubiattach command: Properly check return valuesSascha Hauer2013-07-231-4/+9
| | | | | | | | | - print error when ioctl fails, not a combined message when one of ioctl or ubi_attach_mtd_dev failed. - ubi_attach_mtd_dev() returns the ubi number for success, not 0, so check for ret < 0 to detect errors. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* UBI: Add ubidetach commandSascha Hauer2013-07-231-0/+26
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ubimkvol: Typo fixAlexander Shiyan2013-04-221-1/+1
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ubi: consolidate ubi-media.hWolfram Sang2012-12-191-1/+1
| | | | | | | | We have two versions in the tree. Use the newer one, and put it into the mtd directory while we are at it. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: remove struct command pointer from commandsSascha Hauer2012-02-271-3/+3
| | | | | | This is unused in all commands and thus can be removed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add UBI commands: ubiattach, ubidetach, ubimkvol, ubirmvolSascha Hauer2010-07-051-0/+129
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>