]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Revert "rockchip: Allow booting from SPI"
authorJonas Karlman <jonas@kwiboo.se>
Sat, 17 Feb 2024 00:22:38 +0000 (00:22 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 14 Mar 2024 03:40:48 +0000 (11:40 +0800)
This reverts commit 3523c07867b403d5b3b68812aebac8a5afa5be4c.

Booting from SPI was already allowed before this commit was first
introduced. A few lines further down the exact same code already existed
and still does.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/spl-boot-order.c

index 2c39a215c107eaed83294d117cffe980cbb37d17..79c856d2a0ac2f80e8f1f99f4cd68a1f87e56590 100644 (file)
@@ -65,9 +65,6 @@ static int spl_node_to_boot_device(int node)
                default:
                        return -ENOSYS;
                }
-       } else if (!uclass_get_device_by_of_offset(UCLASS_SPI_FLASH, node,
-               &parent)) {
-               return BOOT_DEVICE_SPI;
        }
 
        /*