1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-27 05:44:35 +01:00
Files
u-boot-megous/test/dm
Simon Glass ab933d8026 dm: core: Create a struct for device runtime info
At present when driver model needs to change a device it simply updates
the struct udevice structure. But with of-platdata-inst most of the fields
are not modified at runtime. In fact, typically only the flags need to
change.

For systems running SPL from read-only memory it is convenient to separate
out the runtime information, so that the devices don't need to be copied
before being used.

Create a new udevice_rt table, similar to the existing driver_rt. For now
it just holds the flags, although they are not used in this patch.

Add a new Kconfig for the driver_rt data, since this is not needed when
of-platdata-inst is used.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
2021-03-26 17:03:09 +13:00
..
2020-07-17 14:32:24 +08:00
2021-01-12 10:58:04 +05:30
2021-03-12 09:57:30 -05:00
2021-01-30 14:25:41 -07:00
2020-07-01 15:01:21 +08:00
2020-10-08 11:42:36 -04:00
2021-03-12 09:57:29 -05:00
2021-02-26 15:30:55 +01:00
2020-10-08 11:42:36 -04:00
2020-11-06 10:18:20 +08:00
2020-11-05 09:11:30 -07:00
2021-02-16 11:48:20 -05:00
2020-10-22 09:54:53 -04:00