From: Sekhar Nori Date: Wed, 29 May 2019 18:43:44 +0530 Subject: [U-Boot] [PATCH v2 2/2] ARM: davinci: SPL: fix BSS initialization In-Reply-To: References: <20190527134607.19010-1-nsekhar@ti.com> <20190527134607.19010-3-nsekhar@ti.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 28/05/19 8:44 PM, Adam Ford wrote: >> -void spl_board_init(void) >> +void board_init_f(ulong dummy) >> { > The da850 uses the device tree to get the serial port information, and > someone else just submitted a patch to enable the device tree for the > LCDK. At least for the da850-evm, we need to initialize the spl stuff > here to fetch the device tree info in order to enable the serial port > for preload_console_init() or it hangs. > > I think we should add spl_early_init(); If you don't want it enabled > all the time, we could encapsulate it in an ifdef checking for the > presence of OF_CONTROL, but I think it should be harmless to have it > executed all the time based on my interpretation of the readme file. I added it in my branch: http://git.ti.com/cgit/cgit.cgi/~dmurphy/ti-u-boot/nsekhar-ti-u-boot.git/log/?h=omapl138-mmc-boot It works well on my LCDK for MMC boot. Can you please check it on DA850 EVM and then I will submit to mailing list. Thanks, Sekhar