
On Wed, May 29, 2019 at 8:13 AM Sekhar Nori nsekhar@ti.com wrote:
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...
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.
Looks find to me. Go ahead and add
Tested-by: Adam Ford aford173@gmail.com #da850evm
Thanks, Sekhar