[PATCH 12/21] dm: core: Add a way to read platdata for all child devices
sjg at google.com
sjg at google.com
Wed Feb 5 18:56:49 CET 2020
When generating ACPI tables we need to make sure that all devices have
read their platform data, so that they can generate the tables correctly.
Rather than adding this code in ACPI, create a core function to handle it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/core/device.c | 36 ++++++++++++++++++++++++++++++++++++
include/dm/device.h | 42 ++++++++++++++++++++++++++++++++++++++++++
include/dm/read.h | 3 ++-
test/dm/test-fdt.c | 19 +++++++++++++++++++
4 files changed, 99 insertions(+), 1 deletion(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list