summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/spl.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2020-08-18 18:16:47 +0800
committerMarek Vasut <marex@denx.de>2020-09-01 14:47:43 +0200
commit27c803848b29ec89e4d1561a509b6bcd95c896b7 (patch)
tree7617a5d7a196f456dc29f28080f422b27ddd3c59 /arch/arm/mach-imx/spl.c
parentb0e9f3e593c0ed1356ff05d99d7a562dc4bf228d (diff)
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/arm/mach-imx/spl.c')
-rw-r--r--arch/arm/mach-imx/spl.c6
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)