[PATCH v2 5/7] spl: add g_dnl_get_board_bcd_device_number

Lukasz Majewski lukma at denx.de
Tue Aug 18 13:32:44 CEST 2020


On Tue, 18 Aug 2020 18:16:47 +0800
Peng Fan <peng.fan at nxp.com> wrote:

> Add g_dnl_get_board_bcd_device_number, the new BCD value is used by
> uuu to distinguish if the SPL supports the SDPV.
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
>  arch/arm/mach-imx/spl.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/mach-imx/spl.c b/arch/arm/mach-imx/spl.c
> index 76a5f7aca6..aa2686bb92 100644
> --- a/arch/arm/mach-imx/spl.c
> +++ b/arch/arm/mach-imx/spl.c
> @@ -187,6 +187,12 @@ int g_dnl_bind_fixup(struct
> usb_device_descriptor *dev, const char *name) 
>  	return 0;
>  }
> +
> +#define SDPV_BCD_DEVICE 0x500
> +int g_dnl_get_board_bcd_device_number(int gcnum)
> +{
> +	return SDPV_BCD_DEVICE;
> +}
>  #endif
>  
>  #if defined(CONFIG_SPL_MMC_SUPPORT)

Reviewed-by: Lukasz Majewski <lukma at 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: <https://lists.denx.de/pipermail/u-boot/attachments/20200818/ecb32429/attachment.sig>


More information about the U-Boot mailing list