Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 64904C433EF for ; Wed, 9 Feb 2022 09:38:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 941F683E5C; Wed, 9 Feb 2022 10:38:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mistralsolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=mistralsolutions.com header.i=@mistralsolutions.com header.b="A8AWgG88"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D5D4183E3A; Wed, 9 Feb 2022 10:37:42 +0100 (CET) Received: from egress-ip33a.ess.de.barracuda.com (egress-ip33a.ess.de.barracuda.com [18.185.115.192]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 25A9083E06 for ; Wed, 9 Feb 2022 10:37:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=mistralsolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sinthu.raja@mistralsolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by mx-outbound13-236.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 09 Feb 2022 09:37:27 +0000 Received: by mail-pf1-f200.google.com with SMTP id t24-20020aa79398000000b004e025989ac7so1455963pfe.18 for ; Wed, 09 Feb 2022 01:37:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Um/JgEdMc1BkRljEeFurMP8djg2XPH0qYaplFa6eovY=; b=A8AWgG88lYVdzehYWUUW7YSNbmu9tjXIvwOc47hBueo/oAAoorhPjO3riML/te/9M1 gkWrBs4kdXW2L1sh7FPj/YvKiuetRh+xlbmP3J2FxL1IpLj1afiv7yRPH8eHnf0Ln7wS Ri09kmYdHgkkzax/EcDb1L5T58lCQesVCKtQ8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Um/JgEdMc1BkRljEeFurMP8djg2XPH0qYaplFa6eovY=; b=WclPv9vMvGikyPICoaVsatU2wmRa79mC0nYFcCGl8sC/1vS84i3ea0OHcrFXG6oxN1 4EBy3BUxgdKphzXitq4TRDdmhrCXtr0R6O7yP4KPSTBddk++o8Tc/TPaUujyC3TrnJp1 1QLFoGH3bnhCSOiRmxZpzOgoyKxFFmocNzZpGzpOjghG8Bs7ncDTydJNXHuvc++WOPhJ UUkzguDJn5gD7HXUKFInZAe1bPzWReFL1yiEw6d/ml6UdDuud6w6Z2ES1UOO6HEKC5u9 +9Q5I97YAz0/uCppLnGQPoOPA1lW9YZE3xrSiewpYOhwm9l/Nh0xiBkPhc6RN9cDW2rO OOSA== X-Gm-Message-State: AOAM5334ZLfjI3BxHf0vchuZ/g+ImZbnEQbkJhGzr8STqYlT4fGGRm6A AImN6D3dnWyryWyB/Ds+mkfAzivlrY+GWvPjUrM+lRgybTI9Sz21fvk0y+FcVuQLoROR7kB5DGC tdRrSHfWG5mxNuxxWZob80BzOiEcA8KrYn5Fbom1XJAkP2ICV2g== X-Received: by 2002:a17:903:1cf:: with SMTP id e15mr1371644plh.12.1644399445618; Wed, 09 Feb 2022 01:37:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5Jl83VJY4MZ3w7KMnDAsTwLrZ3xORCujq1u6UC+HEHcI6xZdIxWVuVCrYx/d8v/jKp509WA== X-Received: by 2002:a17:903:1cf:: with SMTP id e15mr1371623plh.12.1644399445285; Wed, 09 Feb 2022 01:37:25 -0800 (PST) Received: from LAP568U.mistral.in ([106.51.69.35]) by smtp.gmail.com with ESMTPSA id g4sm18964255pfv.63.2022.02.09.01.37.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 01:37:24 -0800 (PST) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: u-boot@lists.denx.de Cc: Praneeth Bajjuri , Sinthu Raja Subject: [PATCH V3 06/16] board: ti: j721e: Disable probing of daughtercards Date: Wed, 9 Feb 2022 15:06:51 +0530 Message-Id: <20220209093701.16693-7-sinthu.raja@ti.com> X-Mailer: git-send-email 2.35.0 In-Reply-To: <20220209093701.16693-1-sinthu.raja@ti.com> References: <20220209093701.16693-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1644399446-303564-5477-8230-1 X-BESS-VER: 2019.1_20220208.1721 X-BESS-Apparent-Source-IP: 209.85.210.200 X-BESS-Outbound-Spam-Score: 0.90 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.237841 [from cloudscan21-23.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.40 BSF_SC0_SA085b META: Custom Rule SA085b 0.50 BSF_RULE7568M META: Custom Rule 7568M 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.90 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_SC0_SA085b, BSF_RULE7568M, BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean From: Sinthu Raja 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 --- Changes in V3: * Updated the conditional check to be a positive check for the board(s) which may have daugther cards. Changes in V2: * J721E EAIK board name is changed to J721E SK, rename all occurrences of eaik to sk. V2: https://patchwork.ozlabs.org/project/uboot/patch/20211102140558.32460-8-sinthu.raja@ti.com/ board/ti/j721e/evm.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index b6810eb0c9..c70ed7a84c 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -432,7 +432,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()) @@ -451,8 +452,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")) { -- 2.35.0