summaryrefslogtreecommitdiffstats
path: root/include/cmdlinepart.h
Commit message (Collapse)AuthorAgeFilesLines
* include: add SPDX GPL-2.0-only license tags for files without licensing ↵Roland Hieber2020-02-171-0/+1
| | | | | | | | | | | information According to our /README, GPL-2.0-only applies for the whole project except noted otherwise. Signed-off-by: Roland Hieber <rohieb@rohieb.name> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* 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>