]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Add a way to read platdata for all child devices
authorSimon Glass <sjg@chromium.org>
Mon, 27 Jan 2020 15:49:47 +0000 (08:49 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:45 +0000 (19:33 -0700)
commit8f033241c9caea608f74d3a5b5eccb172059a4fe
treeb61079187edfb4d66f8fed45577f694e083beafb
parentc251af3077bf71a72ea11dd47dea08dfb67fca9d
dm: core: Add a way to read platdata for all child devices

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@chromium.org>
drivers/core/device.c
include/dm/device.h
include/dm/read.h
test/dm/test-fdt.c