[PATCH 16/26] dm: core: Split out alloc code into a new function

Simon Glass sjg at chromium.org
Mon Dec 28 17:26:26 CET 2020


Add a new function to handle the allocation of private/platform data for
a device. This will make it easier to skip this feature when using the new
of-platdata.

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

 drivers/core/device.c | 89 +++++++++++++++++++++++++------------------
 1 file changed, 52 insertions(+), 37 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list