Part Number: TDA4VM
When u-boot is used to boot on tda4vm-sk, it should not probe for SW3_1(why?), otherwise an error -22 will be print out. So the code path should be cut short of the probing, as detailed below.
diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c
index 11635d3d..e93b5fe4 100644
--- a/board/ti/j721e/evm.c
+++ b/board/ti/j721e/evm.c
@@ -540,6 +540,8 @@ void spl_board_init(void)
struct udevice *dev;
int ret;
+ if (board_is_j721e_sk())
+ return;
ret = detect_SW3_1_state();
if (ret == 1) {
ret = uclass_get_device_by_driver(UCLASS_MTD,