mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 14:40:41 +00:00
spl: add g_dnl_get_board_bcd_device_number
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@nxp.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
b0e9f3e593
commit
27c803848b
1 changed files with 6 additions and 0 deletions
|
@ -187,6 +187,12 @@ int g_dnl_bind_fixup(struct usb_device_descriptor *dev, const char *name)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define SDPV_BCD_DEVICE 0x500
|
||||||
|
int g_dnl_get_board_bcd_device_number(int gcnum)
|
||||||
|
{
|
||||||
|
return SDPV_BCD_DEVICE;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SPL_MMC_SUPPORT)
|
#if defined(CONFIG_SPL_MMC_SUPPORT)
|
||||||
|
|
Loading…
Reference in a new issue