All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Penny Chiu <pchiu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [cbootimage PATCH V2 3/5] Add token_supported function
Date: Tue, 08 Apr 2014 13:55:16 -0600	[thread overview]
Message-ID: <53445424.5090103@wwwdotorg.org> (raw)
In-Reply-To: <1396967422-6018-4-git-send-email-pchiu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

On 04/08/2014 08:30 AM, Penny Chiu wrote:
> Add a function called token_supported in cbootimage_soc_config.
> It is used to check if the input token is supported in specific
> tegra soc.

> diff --git a/src/t114/nvbctlib_t114.c b/src/t114/nvbctlib_t114.c

> +int t114_bct_token_supported(parse_token token)
> +{
> +	int index;
> +
> +	for (index = 0; index < sizeof(t114_root_token_list)/sizeof(t114_root_token_list[0]); index++)

It'd be nice if we had an ARRAY_SIZE() macro we could use here...

That would also make the line-length a bit more typical.

  parent reply	other threads:[~2014-04-08 19:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08 14:30 [cbootimage PATCH V2 0/5] Re-enable jtag function for Tegra124 Penny Chiu
     [not found] ` <1396967422-6018-1-git-send-email-pchiu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-04-08 14:30   ` [cbootimage PATCH V2 1/5] Add format functions to express BCT and bootloader data value Penny Chiu
2014-04-08 14:30   ` [cbootimage PATCH V2 2/5] Accept void pointer as input data type for get/set_value functions Penny Chiu
     [not found]     ` <1396967422-6018-3-git-send-email-pchiu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-04-08 19:48       ` Stephen Warren
2014-04-08 14:30   ` [cbootimage PATCH V2 3/5] Add token_supported function Penny Chiu
     [not found]     ` <1396967422-6018-4-git-send-email-pchiu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-04-08 19:55       ` Stephen Warren [this message]
2014-04-08 14:30   ` [cbootimage PATCH V2 4/5] Add Tegra124 bct data access for jtag control and chip uid Penny Chiu
     [not found]     ` <1396967422-6018-5-git-send-email-pchiu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-04-08 20:09       ` Stephen Warren
2014-04-08 14:30   ` [cbootimage PATCH V2 5/5] Add update BCT configs feature Penny Chiu
     [not found]     ` <1396967422-6018-6-git-send-email-pchiu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-04-08 21:27       ` Stephen Warren

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=53445424.5090103@wwwdotorg.org \
    --to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=pchiu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.