[PATCH 11/19] dm: core: Export a new function to read platdata
sjg at google.com
sjg at google.com
Fri Jan 10 09:57:42 CET 2020
Add a new internal function, device_ofdata_to_platdata() to handle
allocating private space associated with each device and reading the
platform data from the device tree.
Call this new function from device_probe().
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/core/device.c | 29 +++++++++++++++++++++++++++--
include/dm/device-internal.h | 16 ++++++++++++++++
2 files changed, 43 insertions(+), 2 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list