Files
u-boot/include
Quentin Schulz 23c1ab92be env: allow to copy value from default environment into a buffer
env_get_default suffers from a particular issue int that it can only
return a value truncated to gd->env_buf (32) characters. This may be
enough for most variables but it isn't for others, so let's allow users
to provide a preallocated buffer to copy the value into instead,
allowing for more control, though it'll still be truncated if the value
size is bigger than the preallocated buffer.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
2024-01-19 10:57:36 +08:00
..
2024-01-03 09:22:47 -05:00
2023-12-21 08:54:37 -05:00
2023-12-13 11:51:24 -05:00
2023-12-15 13:05:55 -05:00
2023-10-27 13:14:47 +03:00
2023-10-23 17:07:06 +03:00
2023-11-07 14:50:51 -05:00
2024-01-13 18:17:47 +01:00
2023-12-21 08:54:37 -05:00
2023-10-31 09:08:51 +01:00
2023-12-21 11:59:49 -05:00
2023-12-13 11:35:13 -05:00
2023-12-21 08:54:37 -05:00
2023-10-11 15:43:55 -04:00
2023-11-16 12:43:49 -05:00
2023-12-21 08:54:37 -05:00
2023-11-18 10:08:09 +02:00
2023-12-21 08:54:37 -05:00
2023-10-15 12:23:48 +02:00
2023-11-16 13:49:14 -05:00
2023-10-09 15:24:31 -04:00
2023-10-27 13:14:47 +03:00
2023-11-14 20:04:00 -07:00