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>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Michal Suchanek 2022-09-25 15:28:47 +02:00 committed by Simon Glass
parent fb63362c63
commit f7d367c2e6

View file

@ -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: Here are some things you might need to consider:
1. The serial driver itself needs to be present before relocation, so that the 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. tree, so that the serial driver is bound when U-Boot starts.
For example, on iMX8:: 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 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 that any subnodes have the same tag, if they are needed to make the correct
pinctrl available. pinctrl available.