[PATCH] dtc: give advance warning that "-S" is going away.

Jon Loeliger jdl at jdl.com
Thu Jul 31 00:03:26 EST 2008


> 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 at windriver.com>

You rock.

> +	if (minsize)
> +		fprintf(stderr, "DTC: Use of \"-S\" is deprecated; it will be r
> emoved soon, use \"-p\" instead\n");
> +

Or use a U-boot that handles re-sizing automatically.

jdl



More information about the devicetree-discuss mailing list