public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] Add a new "ini" command
Date: Thu, 04 Oct 2012 10:49:54 +0200	[thread overview]
Message-ID: <506D4DB2.1060705@compulab.co.il> (raw)
In-Reply-To: <1349298951-10317-1-git-send-email-joe.hershberger@ni.com>

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@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.

  parent reply	other threads:[~2012-10-04  8:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-17 20:56 [U-Boot] [PATCH] Add a new "ini" command Joe Hershberger
2012-08-17 23:43 ` Mike Frysinger
2012-10-03 21:15 ` [U-Boot] [PATCH v2] " Joe Hershberger
2012-10-04  1:20   ` [U-Boot] [U-Boot,v2] " Tom Rini
2012-10-04  8:49   ` Igor Grinberg [this message]
2012-10-04 19:54     ` [U-Boot] [PATCH] Improve license declaration for cmd_ini.h Joe Hershberger
2012-10-05 17:26       ` Albert ARIBAUD
2012-10-05 17:51         ` Wolfgang Denk
2012-10-05 17:53       ` Wolfgang Denk
2012-10-05 22:27       ` Tom Rini

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=506D4DB2.1060705@compulab.co.il \
    --to=grinberg@compulab.co.il \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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