]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spl: add g_dnl_get_board_bcd_device_number
authorPeng Fan <peng.fan@nxp.com>
Tue, 18 Aug 2020 10:16:47 +0000 (18:16 +0800)
committerMarek Vasut <marex@denx.de>
Tue, 1 Sep 2020 12:47:43 +0000 (14:47 +0200)
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>
arch/arm/mach-imx/spl.c

index 76a5f7aca6136e54aa835cae165c68657ce58a2e..aa2686bb921aa89fa350349eed1d1f7eaed8530a 100644 (file)
@@ -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)