Message ID | 20230519104359.2048821-7-lukma@denx.de |
---|---|
State | Accepted |
Commit | 70b4d610f8952510a441faf89d4f6b54637ef0f4 |
Delegated to: | Stefano Babic |
Headers | show |
Series | arm: xea: Update i.MX28 XEA board to use DM_SERIAL | expand |
> The DM_SERIAL implicitly requires CONFIG_PL01X_SERIAL, which > allows support for both serial IP block versions (i.e. PL011 and > PL010). > The decision about used IP block is based on the compatible string, > when DM is used. > In the XEA, the OF_PLATDATA is used to allow usage of serial driver in > the SPL (as the size of SPL is crucial). In this case one cannot extract > the type of IP block from .data field (corresponding to compatible) and > it must be explicitly read at probe from dtoc generated, u-boot specific > property. > Signed-off-by: Lukasz Majewski <lukma@denx.de> Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic
diff --git a/arch/arm/dts/imx28-xea-u-boot.dtsi b/arch/arm/dts/imx28-xea-u-boot.dtsi index e40a6d240c..50289cf6d7 100644 --- a/arch/arm/dts/imx28-xea-u-boot.dtsi +++ b/arch/arm/dts/imx28-xea-u-boot.dtsi @@ -36,6 +36,7 @@ &duart { bootph-pre-ram; + type = <1>; /* TYPE_PL011 */ }; &gpio0 {
The DM_SERIAL implicitly requires CONFIG_PL01X_SERIAL, which allows support for both serial IP block versions (i.e. PL011 and PL010). The decision about used IP block is based on the compatible string, when DM is used. In the XEA, the OF_PLATDATA is used to allow usage of serial driver in the SPL (as the size of SPL is crucial). In this case one cannot extract the type of IP block from .data field (corresponding to compatible) and it must be explicitly read at probe from dtoc generated, u-boot specific property. Signed-off-by: Lukasz Majewski <lukma@denx.de> --- arch/arm/dts/imx28-xea-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+)