diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2008-07-30 09:59:16 -0400 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2008-07-31 10:38:10 -0500 |
commit | 315c5d095ebdf29f1912186e76ab9f95e694b18a (patch) | |
tree | 11bf87d08b3def4c0924cda1f52b119952c688ca /dtc.c | |
parent | a1db0749fdb270f57fc3ef8f868700e6b3b5c0dd (diff) | |
download | dtc-315c5d095ebdf29f1912186e76ab9f95e694b18a.zip dtc-315c5d095ebdf29f1912186e76ab9f95e694b18a.tar.gz dtc-315c5d095ebdf29f1912186e76ab9f95e694b18a.tar.bz2 |
dtc: give advance warning that "-S" is going away.
The "-S" option allowed the specification of a minimum size for
the blob, however the main reason for caring about the size is
so there is enough padding to add a chosen node by u-boot or
whoever. In which case, folks don't really care about the absolute
size, but rather the size of the padding added for this -- which
is what the "-p" option does. Having the "-S" just confuses people.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'dtc.c')
-rw-r--r-- | dtc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -182,6 +182,9 @@ int main(int argc, char *argv[]) if (minsize && padsize) die("Can't set both -p and -S\n"); + if (minsize) + fprintf(stderr, "DTC: Use of \"-S\" is deprecated; it will be removed soon, use \"-p\" instead\n"); + fprintf(stderr, "DTC: %s->%s on file \"%s\"\n", inform, outform, arg); |