dm: core: Move flags to device-runtime info
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:37 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:09 +0000 (17:03 +1300)
commit6f644efdd803e0718d39266f75c0535a534cc601
tree2c5c623bf4c9860885b10736638dcec1da9594e0
parentab933d802643ca51d276f0f449921a047126f8a1
dm: core: Move flags to device-runtime info

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@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
include/dm/device.h