diff options
| author | Casey Connolly <[email protected]> | 2026-04-01 16:15:19 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-04-21 11:19:49 -0600 |
| commit | 139f5292e7985d0326a1d18eee88720255e423dc (patch) | |
| tree | 2afe47245a7f32ae921123b6394f547a949ffb0c /include/linux/device.h | |
| parent | f5e96fdffc024552944776848bd5570e1b2caa9b (diff) | |
string: add strdup_const and kstrdup_const
Extend Linux compat by adding kstrdup_const(), backed by lib/string.c.
This leverages U-Boots .rodata section on ARM64 to avoid pointlessly
duplicating const strings.
This is used by the Linux CCF_FULL port and may be useful elsewhere
in U-Boot.
Signed-off-by: Casey Connolly <[email protected]>
Diffstat (limited to 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions
