[PATCH] dm: doc: Fix serial howto u-boot,dm-pre-reloc typo

In a couple of places the document says u-boot,pre-reloc but all examples show u-boot,dm-pre-reloc, use the latter consistently.
Signed-off-by: Michal Suchanek msuchanek@suse.de ---
doc/develop/driver-model/serial-howto.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/develop/driver-model/serial-howto.rst b/doc/develop/driver-model/serial-howto.rst index 9da0e57eab..5b1d57d83a 100644 --- a/doc/develop/driver-model/serial-howto.rst +++ b/doc/develop/driver-model/serial-howto.rst @@ -62,7 +62,7 @@ what you need. U-Boot automatically includes these files: see :ref:`dttweaks`. Here are some things you might need to consider:
1. The serial driver itself needs to be present before relocation, so that the - U-Boot banner appears. Make sure it has a u-boot,pre-reloc tag in the device + U-Boot banner appears. Make sure it has a u-boot,dm-pre-reloc tag in the device tree, so that the serial driver is bound when U-Boot starts.
For example, on iMX8:: @@ -79,7 +79,7 @@ Here are some things you might need to consider: };
2. If your serial port requires a particular pinmux configuration, you may need - a pinctrl driver. This needs to have a u-boot,pre-reloc tag also. Take care + a pinctrl driver. This needs to have a u-boot,dm-pre-reloc tag also. Take care that any subnodes have the same tag, if they are needed to make the correct pinctrl available.

Hi Michal,
On 25/09/2022 10:28, Michal Suchanek wrote:
In a couple of places the document says u-boot,pre-reloc but all examples show u-boot,dm-pre-reloc, use the latter consistently.
Signed-off-by: Michal Suchanek msuchanek@suse.de
Reviewed-by: Fabio Estevam festevam@denx.de

On Sun, 25 Sept 2022 at 07:31, Fabio Estevam festevam@denx.de wrote:
Hi Michal,
On 25/09/2022 10:28, Michal Suchanek wrote:
In a couple of places the document says u-boot,pre-reloc but all examples show u-boot,dm-pre-reloc, use the latter consistently.
Signed-off-by: Michal Suchanek msuchanek@suse.de
Reviewed-by: Fabio Estevam festevam@denx.de
Reviewed-by: Simon Glass sjg@chromium.org

On Sun, 25 Sept 2022 at 07:31, Fabio Estevam festevam@denx.de wrote:
Hi Michal,
On 25/09/2022 10:28, Michal Suchanek wrote:
In a couple of places the document says u-boot,pre-reloc but all examples show u-boot,dm-pre-reloc, use the latter consistently.
Signed-off-by: Michal Suchanek msuchanek@suse.de
Reviewed-by: Fabio Estevam festevam@denx.de
Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm, thanks!
participants (3)
-
Fabio Estevam
-
Michal Suchanek
-
Simon Glass