summaryrefslogtreecommitdiffstats
path: root/include/cmdlinepart.h
Commit message (Collapse)AuthorAgeFilesLines
* cmdlinepart: add function to parse a cmdline partition stringSascha Hauer2015-02-121-0/+3
| | | | | | | This adds a function to parse a full cmdline partition string. The addpart command is switched to use this function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* cmdlinepart: make argument types saferSascha Hauer2015-02-121-3/+3
| | | | | | | The return size should be loff_t to support partitions bigger than 4G. Also use const for the devname and endp. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* move cmdline partition parsing code to separate fileSascha Hauer2015-02-121-0/+11
So it's no longer local to the addpart/delpart code and can be used from other code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>