Files
u-boot/env
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
..
2022-07-08 09:05:47 -04:00
2022-08-04 16:18:47 -04:00
2023-10-11 13:22:32 -04:00
2023-02-07 14:33:48 -05:00
2022-06-28 17:11:48 -04:00
2021-10-31 12:26:44 -06:00
2022-08-04 16:18:47 -04:00