diff options
| author | Quentin Schulz <[email protected]> | 2024-01-18 14:55:55 +0100 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2024-01-19 10:57:36 +0800 |
| commit | 543f24dffcf1a85faf95228c0d0ba2dee097939f (patch) | |
| tree | d0e47a4b570a9c1a588e839e00ab2816650a71db /include/linux | |
| parent | 350afb9752888fe58800661ac03c2a57f64237ec (diff) | |
rockchip: rk3399: simplify logic for getting SPL boot medium DT node
In preparation of moving spl_perform_fixups to spl-boot-order.c, let's
simplify the logic around mapping the BOOT_DEVICE_x enum index to a DT
node by using an instantiated array of chars instead of creating a new
data structure on the fly.
This will make it easier to factor out the code handling the SPL boot
medium detection by having spl_decode_boot_device common to all SoCs.
Cc: Quentin Schulz <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Signed-off-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
