summaryrefslogtreecommitdiff
path: root/board/toradex/common/mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/toradex/common/mmc.c')
-rw-r--r--board/toradex/common/mmc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/board/toradex/common/mmc.c b/board/toradex/common/mmc.c
new file mode 100644
index 0000000000..5fe8026ed1
--- /dev/null
+++ b/board/toradex/common/mmc.c
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (c) 2016-2019 Toradex, Inc.
+ */
+
+#include <common.h>
+#include <mmc.h>
+
+/* provide a default implementation */
+__weak int mmc_map_to_kernel_blk(int dev_no)
+{
+ return dev_no;
+}