[U-Boot] [PATCH v2] Add a new "ini" command
Igor Grinberg
grinberg at compulab.co.il
Thu Oct 4 10:49:54 CEST 2012
On 10/03/12 23:15, Joe Hershberger wrote:
> This allows you to read ini-formatted data from anywhere and then
> import one of the sections into the environment
>
> This is based on rev 16 at http://code.google.com/p/inih/
>
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
> ---
> Changes in v2:
> - Documented in README
> - Made all functions static
> - Changed if statments to ternary operator selected parameters
> - Return any errors from ini_parse() to the shell
>
> README | 1 +
> common/Makefile | 1 +
> common/cmd_ini.c | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 249 insertions(+)
> create mode 100644 common/cmd_ini.c
[...]
> diff --git a/common/cmd_ini.c b/common/cmd_ini.c
> new file mode 100644
> index 0000000..652e4f6
> --- /dev/null
> +++ b/common/cmd_ini.c
> @@ -0,0 +1,247 @@
> +/*
> + * inih -- simple .INI file parser
> + *
> + * inih is released under the New BSD license (see LICENSE.txt). Go to the
> + * project home page for more info:
> + *
> + * http://code.google.com/p/inih/
Hmmm, I'm wondering, is it the appropriate license for U-Boot code?
[...]
--
Regards,
Igor.
More information about the U-Boot
mailing list