summaryrefslogtreecommitdiffstats
path: root/board/davinci/da8xxevm/omapl138_lcdk.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-11-14 16:10:30 +0100
committerTom Rini <trini@konsulko.com>2019-12-03 08:44:14 -0500
commit598d9bccc599bac1fa0fd1974eae6338563309f5 (patch)
tree3a6af3aa253f97e08ad70105bc5374a17b3d7d95 /board/davinci/da8xxevm/omapl138_lcdk.c
parent21a4d80a710c79053ac1deaa65ff9b69e6c031d4 (diff)
downloadu-boot-598d9bccc599bac1fa0fd1974eae6338563309f5.tar.gz
u-boot-598d9bccc599bac1fa0fd1974eae6338563309f5.tar.xz
u-boot-598d9bccc599bac1fa0fd1974eae6338563309f5.zip
board: omapl138_lcdk: add the mmc device to SPL
We don't have full device-tree support in SPL yet - add an appropriate U_BOOT_DEVICE() to the board file. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'board/davinci/da8xxevm/omapl138_lcdk.c')
-rw-r--r--board/davinci/da8xxevm/omapl138_lcdk.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lcdk.c
index d4cda0a8a7..608a7f28eb 100644
--- a/board/davinci/da8xxevm/omapl138_lcdk.c
+++ b/board/davinci/da8xxevm/omapl138_lcdk.c
@@ -366,4 +366,13 @@ U_BOOT_DEVICE(omapl138_uart) = {
.name = "ns16550_serial",
.platdata = &serial_pdata,
};
+
+U_BOOT_DEVICE(omapl138_mmc) = {
+ .name = "davinci_mmc",
+};
+
+void spl_board_init(void)
+{
+ davinci_configure_pin_mux(mmc0_pins, ARRAY_SIZE(mmc0_pins));
+}
#endif