summaryrefslogtreecommitdiffstats
path: root/scripts/lib/image
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-02-04 23:45:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-08 08:00:27 +0000
commit602d90d57a55f240b81ad286224c5cc39460e3c1 (patch)
treec921f7a66fce1692281ff2ca6f8d2d68e735250a /scripts/lib/image
parent7c3b9a9a9fe0bcad7d7d3f0af84d6eb8546904f7 (diff)
downloadpoky-602d90d57a55f240b81ad286224c5cc39460e3c1.tar.gz
wic: use kB for the partitions size
Use kB instead of MB for the partition size to get a better granularity. This is needed on some SoC (i.mx, omap) where it is necessary to create partitions as small as 64kB. Keep the backward compatibility by assuming MB when no unit is provided. (From OE-Core rev: 3d4da9186016d54b76ad2fa710646de253f0f063) Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Tested-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Acked-by: Tom Zanussi <tom.zanussi@linux.intel.com> Tested-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/image')
-rw-r--r--scripts/lib/image/help.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index 6b74f57662..0d8a6adfaa 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -673,10 +673,10 @@ DESCRIPTION
673 673
674 The following are supported 'part' options: 674 The following are supported 'part' options:
675 675
676 --size: The minimum partition size in MBytes. Specify an 676 --size: The minimum partition size. Specify an integer value
677 integer value such as 500. Do not append the number 677 such as 500. Multipliers k, M ang G can be used. If
678 with "MB". You do not need this option if you use 678 not specified, the size is in MB.
679 --source. 679 You do not need this option if you use --source.
680 680
681 --source: This option is a wic-specific option that names the 681 --source: This option is a wic-specific option that names the
682 source of the data that will populate the 682 source of the data that will populate the