All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lokesh Vutla <lokeshvutla@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2] board: am57xx: Fix missing check for beagle_x15
Date: Sat, 3 Sep 2016 22:24:25 +0530	[thread overview]
Message-ID: <52cd0e3d-d259-c968-c107-d22531659fba@ti.com> (raw)
In-Reply-To: <20160902185133.6765-1-nm@ti.com>



On Saturday 03 September 2016 12:21 AM, Nishanth Menon wrote:
> When beagleboard-X15 is booted, we see the following log:
> Unidentified board claims BBRDX15_ in eeprom header
> 
> This is because of the missing check for x15 (the default) and reports
> an error for a valid board configuration. Fix the same.
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>

Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>

Thanks and regards,
Lokesh

> ---
> Changes since V1:
> 	- move the x15 check higher up in the list.
> 
> V1: https://patchwork.ozlabs.org/patch/665144/
> 
>  board/ti/am57xx/board.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
> index 927d1364fe46..64de60254136 100644
> --- a/board/ti/am57xx/board.c
> +++ b/board/ti/am57xx/board.c
> @@ -338,7 +338,9 @@ static void setup_board_eeprom_env(void)
>  	if (rc)
>  		goto invalid_eeprom;
>  
> -	if (board_is_am572x_evm())
> +	if (board_is_x15())
> +		name = "beagle_x15";
> +	else if (board_is_am572x_evm())
>  		name = "am57xx_evm";
>  	else if (board_is_am572x_idk())
>  		name = "am572x_idk";
> 

  parent reply	other threads:[~2016-09-03 16:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-02 18:51 [U-Boot] [PATCH V2] board: am57xx: Fix missing check for beagle_x15 Nishanth Menon
2016-09-02 19:08 ` Tom Rini
2016-09-03 16:54 ` Lokesh Vutla [this message]
2016-09-07 18:00 ` [U-Boot] [U-Boot, " 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=52cd0e3d-d259-c968-c107-d22531659fba@ti.com \
    --to=lokeshvutla@ti.com \
    --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 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.