diff options
| author | Artem Lapkin <[email protected]> | 2021-05-26 17:32:27 +0800 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2021-08-11 17:54:20 +0800 |
| commit | e8a663cc60a30f60edb5dbb7649b558da5a47be8 (patch) | |
| tree | 8a4c301ac8bee49193dd37aeaf285cfe0d5f8364 /scripts | |
| parent | b212ad24a604b00b240add35516b7381965deb31 (diff) | |
rk3399: boot_devices fix spinor node name
Problem: board_spl_was_booted_from return wrong boot_devices[3] value
/spi@ff1d0000 and same-as-spl dont work properly for SPINOR flash
because arch/arm/mach-rockchip/spl-boot-order.c spl_node_to_boot_device
need parse SPINOR flash node as UCLASS_SPI_FLASH
spl-boot-order: same-as-spl > *** BOOT_SOURCE_ID 3 (2:emmc 3:spi 5:sd ...
/spi@ff1d0000 > board_boot_order: could not map node @618 to a boot-device
/sdhci@fe330000 > /mmc@fe320000
Solution: just change it to /spi@ff1d0000/flash@0
spl-boot-order: same-as-spl > *** BOOT_SOURCE_ID 3 (2:emmc 3:spi 5:sd ...
/spi@ff1d0000/flash@0 > /sdhci@fe330000 > /mmc@fe320000
Signed-off-by: Artem Lapkin <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
