uboot-script-gen: Use split_value for memory
Don't hardcode the first cell to 0 - use split_value to handle larger values properly.
Signed-off-by Jason Andryuk <[email protected]>
--- scripts/uboot-script-gen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/uboot-script-gen +1 -1
@@ -174,7 +174,7 @@ function add_device_tree_mem() memory=$((512 * 1024)) fi - dt_set "$path" "memory" "int" "0 $memory" + dt_set "$path" "memory" "int" "$( split_value $memory )" } function add_device_tree_static_mem()
Signature · 1 line
2.34.1
Stefano Stabellini
Reviewed-byQuoted 4 lines · Jason Andryuk
Don't hardcode the first cell to 0 - use
split_valueto handle larger values properly.Signed-off-by Jason Andryuk <[email protected]>
Reviewed-by Stefano Stabellini <[email protected]>
Quoted 20 lines
--- scripts/uboot-script-gen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)scripts/uboot-script-gen +1
-1@@ -174,7 +174,7 @@ function add_device_tree_mem() memory=$((512 * 1024)) fi - dt_set "$path" "memory" "int" "0 $memory" + dt_set "$path" "memory" "int" "$( split_value $memory )" } function add_device_tree_static_mem()Signature · 1 line
2.34.1