Files
u-boot/drivers
Simon Glass 153851ddfa dm: core: Add a new flag to track platform data
We want to avoid allocating platform data twice. This could happen if
device_probe() is called after device_ofdata_to_platdata() for the same
device.

Add a flag to track whether device_ofdata_to_platdata() has been called on
a device. Check the flag to make sure it doesn't happen twice, and clear
the flag when the data is freed.

Signed-off-by: Simon Glass <sjg@chromium.org>
2020-01-07 16:02:38 -07:00
..
2019-05-21 08:03:38 +02:00
2019-12-02 18:23:09 -05:00
2019-12-15 11:44:25 +08:00
2020-01-06 17:07:49 -05:00
2020-01-06 17:07:49 -05:00
2019-08-07 15:31:04 -04:00
2019-12-15 11:44:26 +08:00
2019-12-15 11:44:26 +08:00
2019-11-17 17:22:53 +08:00
2019-11-01 16:45:40 +03:00
2019-12-27 14:34:29 +01:00
2019-12-10 05:54:55 -07:00
2020-01-06 17:07:49 -05:00
2019-07-19 15:17:05 +02:00
2020-01-07 10:26:55 +01:00