summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2020-10-24 10:21:50 -0500
committerAndre Przywara <[email protected]>2020-11-17 00:42:20 +0000
commit467b7e52ec8920034b0d5ffb23a9ed72cd26bad3 (patch)
tree1394f89b836075cdc34fb41ea06378a4a2ae2d78 /include/linux/stringify.h
parent2fcd74899c940f5bd474dab0c4f53b5d6e2185b3 (diff)
sunxi: board: Add a helper to get the SPL DT name
This moves the validity checking and typecasts all to one place away from the string comparison logic, and it detangles the compile-time and runtime control flow. The new helper will also be used by U-Boot proper in a future commit. Acked-by: Maxime Ripard <[email protected]> Reviewed-by: Andre Przywara <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Jagan Teki <[email protected]> [Andre: protect new function with CONFIG_SPL_LOAD_FIT] Signed-off-by: Andre Przywara <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions