public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 1/4] imx: spl: Change USB boot device type for imx8/8m
Date: Mon, 26 Aug 2019 09:58:21 +0200	[thread overview]
Message-ID: <20190826095821.08c62a5f@jawa> (raw)
In-Reply-To: <20190822134455.32366-2-sherry.sun@nxp.com>

Hi Sherry,

> The SPL SDP is configured as BOOT_DEVICE_BOARD, but for i.MX8 and
> i.MX8M, the boot_device_spl is still set to BOOT_DEVICE_USB, which
> may cause SDP can't work, in order to fix this issue, when booting
> from USB in spl, we change its type to BOOT_DEVICE_BOARD.
> 
> Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
> Signed-off-by: Ye Li <ye.li@nxp.com>
> ---
>  arch/arm/mach-imx/spl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
> index 1f230aca33..a74d222dd6 100644
> --- a/arch/arm/mach-imx/spl.c
> +++ b/arch/arm/mach-imx/spl.c
> @@ -158,7 +158,7 @@ u32 spl_boot_device(void)
>  	case SPI_NOR_BOOT:
>  		return BOOT_DEVICE_SPI;
>  	case USB_BOOT:
> -		return BOOT_DEVICE_USB;
> +		return BOOT_DEVICE_BOARD;
>  	default:
>  		return BOOT_DEVICE_NONE;
>  	}

Reviewed-by: Lukasz Majewski <lukma@denx.de>


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190826/01baef7d/attachment.sig>

  reply	other threads:[~2019-08-26  7:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-22  1:46 [U-Boot] [PATCH v3 0/4] Make some changes to SDP Sherry Sun
2019-08-22  1:46 ` [U-Boot] [PATCH v3 1/4] imx: spl: Change USB boot device type for imx8/8m Sherry Sun
2019-08-26  7:58   ` Lukasz Majewski [this message]
2019-08-22  1:46 ` [U-Boot] [PATCH v3 2/4] SDP: use CONFIG_SDP_LOADADDR as default load address Sherry Sun
2019-08-22  1:46 ` [U-Boot] [PATCH v3 3/4] SDP: fix wrong usb request size and add high speed endpoint descriptor Sherry Sun
2019-08-26  8:01   ` Lukasz Majewski
2019-08-26  8:52     ` Sherry Sun
2019-08-22  1:46 ` [U-Boot] [PATCH v3 4/4] SDP: Call usb_gadget_initialize and usb_gadget_release to support UDC Sherry Sun

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=20190826095821.08c62a5f@jawa \
    --to=lukma@denx.de \
    --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