From: Paul Gortmaker <paul.gortmaker@windriver•com>
To: devicetree-discuss@ozlabs•org
Cc: linuxppc-dev@ozlabs•org, jdl@jdl•com,
Paul Gortmaker <paul.gortmaker@windriver•com>
Subject: [PATCH] dtc: give advance warning that "-S" is going away.
Date: Wed, 30 Jul 2008 09:59:16 -0400 [thread overview]
Message-ID: <1217426356-1248-1-git-send-email-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <E1KOBwm-0002vc-CT@jdl.com>
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>
---
dtc.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dtc.c b/dtc.c
index d8fd43b..84bee2d 100644
--- a/dtc.c
+++ b/dtc.c
@@ -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);
--
1.5.6.2
next parent reply other threads:[~2008-07-30 13:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1KOBwm-0002vc-CT@jdl.com>
2008-07-30 13:59 ` Paul Gortmaker [this message]
2008-07-30 14:03 ` [PATCH] dtc: give advance warning that "-S" is going away Jon Loeliger
2008-07-31 15:43 ` Jon Loeliger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1217426356-1248-1-git-send-email-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver$(echo .)com \
--cc=devicetree-discuss@ozlabs$(echo .)org \
--cc=jdl@jdl$(echo .)com \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox