[U-Boot] [PATCH v0] rockchip: adding the missing "/" in entries of boot_devices

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Thu Oct 17 09:17:02 UTC 2019

> On 17.10.2019, at 09:22, djw at t-chip.com.cn wrote:
> From: Levin Du <djw at 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 at t-chip.com.cn>

Reviewed-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>

More information about the U-Boot mailing list