From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Mon, 26 Aug 2019 09:58:21 +0200 Subject: [U-Boot] [PATCH v3 1/4] imx: spl: Change USB boot device type for imx8/8m In-Reply-To: <20190822134455.32366-2-sherry.sun@nxp.com> References: <20190822134455.32366-1-sherry.sun@nxp.com> <20190822134455.32366-2-sherry.sun@nxp.com> Message-ID: <20190826095821.08c62a5f@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Ye Li > --- > 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 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: