[PATCH 08/19] dm: core: Move ofdata_to_platdata() call earlier

sjg at google.com sjg at google.com
Fri Jan 10 09:57:45 CET 2020


This method is supposed to extract platform data from the device tree. It
should be done before the device itself is probed. Move it earlier in the
device_probe() function.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/core/device.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list