diff options
author | Peng Fan <peng.fan@nxp.com> | 2020-08-18 18:16:47 +0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2020-09-01 14:47:43 +0200 |
commit | 27c803848b29ec89e4d1561a509b6bcd95c896b7 (patch) | |
tree | 7617a5d7a196f456dc29f28080f422b27ddd3c59 /arch | |
parent | b0e9f3e593c0ed1356ff05d99d7a562dc4bf228d (diff) | |
download | u-boot-27c803848b29ec89e4d1561a509b6bcd95c896b7.tar.gz u-boot-27c803848b29ec89e4d1561a509b6bcd95c896b7.tar.bz2 u-boot-27c803848b29ec89e4d1561a509b6bcd95c896b7.zip |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/spl.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) |