[PATCH v4 27/42] dm: core: Move flags to device-runtime info

Simon Glass sjg at chromium.org
Wed Mar 17 02:28:21 CET 2021


When of-platdata-inst is active, use the flags in the new udevice_rt
table, dropping them from the main struct udevice. This ensures that the
latter is not updated at runtime.

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

(no changes since v2)

Changes in v2:
- Leave the flags_ memeber in the same struct position

 drivers/core/device.c | 33 +++++++++++++++++++++++++++++++++
 include/dm/device.h   |  8 ++++++++
 2 files changed, 41 insertions(+)

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


More information about the U-Boot mailing list