[PATCH 19/19] dm: devres: Add a new OFDATA phase

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


Since the ofdata_to_platdata() method can allocate resources, add it as a
new devres phase.

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

 drivers/core/devres.c | 18 +++++++++++++-----
 include/test/test.h   |  3 ++-
 test/dm/devres.c      | 14 +++++++++++---
 test/dm/test-fdt.c    | 11 +++++++++++
 4 files changed, 37 insertions(+), 9 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list