mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 2/9] filetype: add is_barebox_head
Date: Sun, 20 Jan 2013 00:39:49 +0400	[thread overview]
Message-ID: <CAA4bVAEWPR3YcmfN-=AYEfOxR5wHZdAwSFq4necMhtUkkJ_jZQ@mail.gmail.com> (raw)
In-Reply-To: <1358613446-1168-2-git-send-email-plagnioj@jcrosoft.com>

On 19 January 2013 20:37, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> wrote:
> to detect if it's a barebox for the current running arch
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
>  include/filetype.h |    5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/include/filetype.h b/include/filetype.h
> index c2af917..05b0f5c 100644
> --- a/include/filetype.h
> +++ b/include/filetype.h
> @@ -66,4 +66,9 @@ static inline int is_barebox_mips_head(const char *head)
>  }
>  #endif
>
> +static inline int is_barebox_head(const char *head)
> +{
> +       return is_barebox_mips_head(head) || is_barebox_mips_head(head);
> +}
> +

There are too many MIPSes here!

>  #endif /* __FILE_TYPE_H */
> --
> 1.7.10.4
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox



-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2013-01-19 20:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-19 16:35 [PATCH 0/9 v4] at91: add bootstrap support Jean-Christophe PLAGNIOL-VILLARD
2013-01-19 16:37 ` [PATCH 1/9] filetype: add is_barebox_mips_head support Jean-Christophe PLAGNIOL-VILLARD
2013-01-19 16:37   ` [PATCH 2/9] filetype: add is_barebox_head Jean-Christophe PLAGNIOL-VILLARD
2013-01-19 18:04     ` Alexander Aring
2013-01-19 20:39     ` Antony Pavlov [this message]
2013-01-19 16:37   ` [PATCH 3/9] at91: add test commamd to emulate bootrom boot Jean-Christophe PLAGNIOL-VILLARD
2013-01-19 16:37   ` [PATCH 4/9] at91sam926x: lowlevel add external boot support Jean-Christophe PLAGNIOL-VILLARD
2013-01-19 16:37   ` [PATCH 5/9] at91: sam926x: switch lowlevel param to c code Jean-Christophe PLAGNIOL-VILLARD
2013-01-19 16:37   ` [PATCH 6/9] at91: usb-a9263 add lowlevel init Jean-Christophe PLAGNIOL-VILLARD
2013-01-19 16:37   ` [PATCH 7/9] introduce common bootstrap code Jean-Christophe PLAGNIOL-VILLARD
2013-01-19 16:37   ` [PATCH 8/9] at91: add bootstrap version Jean-Christophe PLAGNIOL-VILLARD
2013-01-19 16:37   ` [PATCH 9/9] at91: usb_a9263: " Jean-Christophe PLAGNIOL-VILLARD
2013-01-20 15:40 ` [PATCH 0/9 v4] at91: add bootstrap support Sascha Hauer
2013-01-21 10:21   ` Jean-Christophe PLAGNIOL-VILLARD

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='CAA4bVAEWPR3YcmfN-=AYEfOxR5wHZdAwSFq4necMhtUkkJ_jZQ@mail.gmail.com' \
    --to=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=plagnioj@jcrosoft.com \
    /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