summaryrefslogtreecommitdiff
path: root/board/ti/am57xx/board.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-10-12 10:09:13 -0400
committerTom Rini <trini@konsulko.com>2019-10-12 10:09:13 -0400
commit36317705cb5ab43db25fede2446d2352de527630 (patch)
treee8ff78640a9b892bd1026d4b1bead169f8c95fed /board/ti/am57xx/board.c
parent44fb0d6c9f5147a41c710032869e5e01b3c9e310 (diff)
parent5c6e497eaaf2c76344f82e823c2a0aad3cc26167 (diff)
Merge branch '2019-10-11-ti-imports'
- Various improvements to dra7xx, keystone 3, am65x SoCs - Platform updates - remoteproc improvements
Diffstat (limited to 'board/ti/am57xx/board.c')
-rw-r--r--board/ti/am57xx/board.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index f78e6c2e1f..237a834c53 100644
--- a/board/ti/am57xx/board.c
+++ b/board/ti/am57xx/board.c
@@ -30,6 +30,7 @@
#include <dwc3-omap-uboot.h>
#include <ti-usb-phy-uboot.h>
#include <mmc.h>
+#include <dm/uclass.h>
#include "../common/board_detect.h"
#include "mux_data.h"
@@ -689,6 +690,7 @@ int board_late_init(void)
{
setup_board_eeprom_env();
u8 val;
+ struct udevice *dev;
/*
* DEV_CTRL.DEV_ON = 1 please - else palmas switches off in 8 seconds
@@ -720,6 +722,9 @@ int board_late_init(void)
am57x_idk_lcd_detect();
+ /* Just probe the potentially supported cdce913 device */
+ uclass_get_device(UCLASS_CLK, 0, &dev);
+
#if !defined(CONFIG_SPL_BUILD)
board_ti_set_ethaddr(2);
#endif