On Mon, Mar 14, 2022 at 12:24:36PM -0600, Simon Glass wrote:
> Hi Soeren,
> 
> On Mon, 14 Mar 2022 at 02:26, Soeren Moch <sm...@web.de> wrote:
> >
> > ... to get rid of the build warning.
> > Unfortunately we still need the board specific serial pin init code.
> > Otherwise the first boot messages over the serial console are lost.
> >
> > Signed-off-by: Soeren Moch <sm...@web.de>
> > ---
> > Cc: Stefano Babic <sba...@denx.de>
> > Cc: Fabio Estevam <feste...@gmail.com>
> > Cc: Tom Rini <tr...@konsulko.com>
> > Cc: Simon Glass <s...@chromium.org>
> > Cc: u-boot@lists.denx.de
> >
> > The whole purpose of DM is somewhat defeated when we still need board
> > specific initializations. Any ideas how we can get all boot messages
> > without board specific inits? 'u-boot,dm-pre-reloc;' in the uart device
> > tree node did not help.
> 
> You can put that in your serial driver, perhaps? Or in the initial SoC
> init code?
> 
> Another recent way (in -next) is to use events to monitor the
> EVT_DM_PRE_PROBE event for the serial driver.

It's just the same thing every single imx platform is doing.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to