[U-Boot] drivers: serial: dm: Enable DM_FLAG_PRE_RELOC in SBSA pl011 uart driver

Tom Rini trini at konsulko.com
Sun Feb 10 13:08:45 UTC 2019


On Wed, Jan 30, 2019 at 11:24:00AM +0000, Vabhav Sharma wrote:

> The DM_FLAG_PRE_RELOC shall be enabled in SBSA PL011 uart driver
> as this driver is used in NXP based SoCs
> 
> It is necessary to have Serial console running before relocation
> 
> The !CONFIG_IS_ENABLED(OF_CONTROL) [*] check is set as "workaround"
> for DM problem : 4687919684e
> 
> This flag is set if board does not support device-tree and using
> platform data, In DM Model either of device tree or platform data
> can be used to fetch device configuration
> 
> It is possible to use SBSA UART with CONFIG_DM_SERIAL but witout
> corresponding device tree description (OF_CONTROL)
> 
> Other board/SoCs have this flag set unconditionally
> 
> Signed-off-by: Vabhav Sharma <vabhav.sharma at nxp.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190210/16afdde4/attachment.sig>


More information about the U-Boot mailing list