diff options
author | Sinthu Raja | 2022-02-09 15:06:51 +0530 |
---|---|---|
committer | Tom Rini | 2022-02-16 14:19:30 -0500 |
commit | ee59fa45c83b513ac5d596ef3a505ac7f50a83c1 (patch) | |
tree | feab13b5267c8fd7b91e68f342f94b0b16cce214 | |
parent | dfb2429ff48d5e69ac327a8dcce56ccc61f97b37 (diff) |
board: ti: j721e: Disable probing of daughtercards
j721e-sk doesn't have any daughter cards, so disable daughter
card probing inside board_late_init() and spl_board_init() for
j721e-sk.
Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
-rw-r--r-- | board/ti/j721e/evm.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index e184ff0081b..892c5393cf0 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -466,7 +466,8 @@ int board_late_init(void) setup_serial(); /* Check for and probe any plugged-in daughtercards */ - probe_daughtercards(); + if (board_is_j721e_som() || board_is_j7200_som()) + probe_daughtercards(); } if (board_is_j7200_som()) @@ -488,8 +489,10 @@ void spl_board_init(void) if ((IS_ENABLED(CONFIG_TARGET_J721E_A72_EVM) || IS_ENABLED(CONFIG_TARGET_J7200_A72_EVM)) && - IS_ENABLED(CONFIG_TI_I2C_BOARD_DETECT)) - probe_daughtercards(); + IS_ENABLED(CONFIG_TI_I2C_BOARD_DETECT)) { + if (!board_is_j721e_sk()) + probe_daughtercards(); + } #ifdef CONFIG_ESM_K3 if (board_ti_k3_is("J721EX-PM2-SOM")) { |