From mboxrd@z Thu Jan 1 00:00:00 1970 From: sjg at google.com Date: Fri, 10 Jan 2020 03:57:45 -0500 Subject: [PATCH 08/19] dm: core: Move ofdata_to_platdata() call earlier In-Reply-To: <20191229211913.8.I34ee1af1fc74ec76a52511cecd1471e72b4852ce@changeid> References: <20191229211913.8.I34ee1af1fc74ec76a52511cecd1471e72b4852ce@changeid> <20191230041928.74874-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- drivers/core/device.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Applied to u-boot-dm, thanks!