
17 Oct
2019
17 Oct
'19
11:17 a.m.
On 17.10.2019, at 09:22, djw@t-chip.com.cn wrote:
From: Levin Du djw@t-chip.com.cn
Without the prefix, "same-as-spl" in `u-boot,spl-boot-order` will not work as expected. When board_boot_order() `spl-boot-order.c` meets "same-as-spl", it gets the conf by looking the boot_devices table by boot source, and parse the node by the conf with:
node = fdt_path_offset(blob, conf);
which will failed without the "/" indicating the path.
Currently only entries of boot_devices in rk3399 have the "/" prefix. Therefore add the missing ones in other boards.
Good catch. One can thus tell what platform I originally tested this on ;-)
Signed-off-by: Levin Du djw@t-chip.com.cn
Reviewed-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com