From 4b37928d3577e1b540b12d709e9b551fee3ccbd6 Mon Sep 17 00:00:00 2001 From: "Derald D. Woods" Date: Fri, 29 Dec 2017 10:37:32 -0600 Subject: ARM: dts: omap3-beagle{-xm}: Enable DM and devicetree for BeagleBoard This commit updates the configuration files needed to support OF_CONTROL on the OMAP3 BeagleBoard(s). --- board/ti/beagle/beagle.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'board') diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index bdf84b0be8..d8402f2675 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -103,6 +103,17 @@ int board_init(void) return 0; } +#if defined(CONFIG_SPL_OS_BOOT) +int spl_start_uboot(void) +{ + /* break into full u-boot on 'c' */ + if (serial_tstc() && serial_getc() == 'c') + return 1; + + return 0; +} +#endif /* CONFIG_SPL_OS_BOOT */ + /* * Routine: get_board_revision * Description: Detect if we are running on a Beagle revision Ax/Bx, -- cgit v1.2.3