[U-Boot] [PATCH v3 02/15] imx: spl: Update NAND bootmode detection bit

Stefano Babic sbabic at denx.de
Sun Feb 19 15:50:00 UTC 2017


On 02/02/2017 15:56, Jagan Teki wrote:
> BOOT_CFG1[7:4] the NAND boot mode selection is done
> only when BOOT_CFG1[7] is 1 hence update the NAND
> boot mode detection bit case. This information available
> on Table 8-11. NAND Boot eFUSE Descriptions, from IMX6DQRM.
> 
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Tim Harvey <tharvey at gateworks.com>
> Signed-off-by: Jagan Teki <jagan at openedev.com>
> ---
>  arch/arm/imx-common/spl.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/imx-common/spl.c b/arch/arm/imx-common/spl.c
> index a7f9705..fc3704b 100644
> --- a/arch/arm/imx-common/spl.c
> +++ b/arch/arm/imx-common/spl.c
> @@ -61,8 +61,8 @@ u32 spl_boot_device(void)
>  	case 0x6:
>  	case 0x7:
>  		return BOOT_DEVICE_MMC1;
> -	/* NAND Flash: 8.5.2 */
> -	case 0x8 ... 0xf:
> +	/* NAND Flash: 8.5.2, Table 8-10 */
> +	case 0x8:
>  		return BOOT_DEVICE_NAND;
>  	}
>  	return BOOT_DEVICE_NONE;
> 

Reviewed by : Stefano Babic |sbabic at denx.de>

Best regards,
Stefano Babic

-- 
Meet DENX at the Embedded World Trade Show
14 Mar - 16 Mar 2017, Nuremberg Trade Fair Centre, Hall 4, Booth 581
--
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list