Files
u-boot/test
Simon Glass 0b58eaa89c dm: core: Allow copying ofnode property data when writing
At present ofnode_write_prop() is inconsistent between livetree and
flattree, in that livetree requires the caller to ensure the property
value is stable (e.g. in rodata or allocated) but flattree does not, since
it makes a copy.

This makes the API call a bit painful to use, since the caller must do
different things depending on OF_LIVE.

Add a new 'copy' argument which tells the function to make a copy if
needed. Add some tests to cover this behaviour.

Signed-off-by: Simon Glass <sjg@chromium.org>
2022-09-29 22:43:43 -04:00
..
2022-09-02 13:40:42 -04:00
2022-06-23 12:58:19 -04:00
2022-07-26 02:30:56 -06:00
2022-09-25 13:59:56 -06:00
2022-01-19 18:11:34 +01:00
2022-08-10 13:38:30 -04:00
2022-08-10 13:38:30 -04:00
2022-05-03 21:39:22 +02:00