From patchwork Sat Jun 26 14:55:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sinthu Raja X-Patchwork-Id: 1497628 X-Patchwork-Delegate: lokeshvutla@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=mistralsolutions.com header.i=@mistralsolutions.com header.a=rsa-sha256 header.s=google header.b=Xx/FK/x7; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GBxz92fJxz9sWM for ; Sun, 27 Jun 2021 01:06:29 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 85A5F82C4B; Sat, 26 Jun 2021 17:05:30 +0200 (CEST) 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="Xx/FK/x7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 55B7E82C2C; Sat, 26 Jun 2021 16:59:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_WEB,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 Received: from egress-ip4a.ess.de.barracuda.com (egress-ip4a.ess.de.barracuda.com [18.184.203.227]) (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 835BD82C24 for ; Sat, 26 Jun 2021 16:59:24 +0200 (CEST) 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-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx-outbound12-72.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 26 Jun 2021 14:59:23 +0000 Received: by mail-pj1-f69.google.com with SMTP id cv22-20020a17090afd16b029017071bb3b48so99945pjb.9 for ; Sat, 26 Jun 2021 07:59:23 -0700 (PDT) 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=qm6kTX6m8lfl6N6TS7fo0H/3YqGyN63B4sojz92K8ks=; b=Xx/FK/x7k5+qCxbeqvlS0fC63+QYKhxSw/csy5WGYvqXvWVvkibhv5ypHYburX1jO2 AeWHQlGkSET/0W1Gs8ARwLmGNXL/gdjbDqex0YdwOJ5+oFnvE27ZtBtcW1RfzNHv69kQ ybCEePakU6UBB5bywgXzPvB0ewRS/CmDshgvE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qm6kTX6m8lfl6N6TS7fo0H/3YqGyN63B4sojz92K8ks=; b=ogiVe5uGrLd+ddAaLI3/tsxcX58UHICFMFhux/0XgTyRR1uOmI8XdcPzLHgNLRKJI5 4EvXZYUqtvfPT6fzk7RL8PEUKRbJldqi/POtLCfoQhonOPAqyX82hefIylXOmgCARSIV m9sgtL4I/uJ+aSUt14zGe19Mw1eXI3K8rN9apmkqcmKbVm1A5hSi0WWgFghIbm6fafeT 38fo2XuLzRfGp62kbP6hIA8uvR0E2PwVb5Wi+YmRH0upE2msxn7kvvpRaShXp1zhCGB5 l45Zhmk2M5xp0VrAnza8OuuxRMUQx0ypzCvXb4gZ0r6XqxgkvE6tZ/rWYuJloDSwpC2X AuqA== X-Gm-Message-State: AOAM532gTDq67KJM/2Ba7aKWmy94HAh4ZBsV6IsyZYPGJvHCnG5b4YsJ oJ2DoRu7ZpsA22AdYo2YOhdFbr0azCZmjstAWncz/JZb8tKjYdFETPe3WpPwcwbGnHg0doR3vT7 kYZtBjmbfRX/bWNCG+A/ANUsjVEgOc34NZsPDJLRl2o+5dwbDLA== X-Received: by 2002:a17:90a:cd03:: with SMTP id d3mr17056070pju.31.1624719562475; Sat, 26 Jun 2021 07:59:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIC08nDQ5pNjhGRuQqDr72Ob8PCxNswFLMCzBccyH8YIoPLKKLXGQ8/dUA1zAMIiNjUTfX3g== X-Received: by 2002:a17:90a:cd03:: with SMTP id d3mr17056059pju.31.1624719562300; Sat, 26 Jun 2021 07:59:22 -0700 (PDT) Received: from localhost.localdomain ([49.207.221.44]) by smtp.gmail.com with ESMTPSA id g18sm8769245pfi.199.2021.06.26.07.59.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Jun 2021 07:59:21 -0700 (PDT) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: u-boot@lists.denx.de Cc: Praneeth Bajjuri , Vutla Lokesh , Amarnath MB , Sinthu Raja Subject: [PATCH 07/17] board: ti: j721e: Disable probing of daughtercards Date: Sat, 26 Jun 2021 20:25:52 +0530 Message-Id: <20210626145602.15702-8-sinthu.raja@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210626145602.15702-1-sinthu.raja@ti.com> References: <20210626145602.15702-1-sinthu.raja@ti.com> MIME-Version: 1.0 X-BESS-ID: 1624719563-303144-5800-32229-1 X-BESS-VER: 2019.1_20210623.1648 X-BESS-Apparent-Source-IP: 209.85.216.69 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.233199 [from cloudscan11-203.eu-central-1a.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 X-Mailman-Approved-At: Sat, 26 Jun 2021 17:05:02 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean From: Amarnath MB j721e-eaik doesn't have any daughter cards, so disable daughter card probing inside board_late_init() and spl_board_init() for j721e-eaik. Signed-off-by: Amarnath MB Signed-off-by: Sinthu Raja --- 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 a847b2c607..0de22da5b7 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -404,7 +404,8 @@ int board_late_init(void) setup_serial(); /* Check for and probe any plugged-in daughtercards */ - probe_daughtercards(); + if (!board_is_j721e_eaik()) + probe_daughtercards(); } return 0; @@ -420,8 +421,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_eaik()) + probe_daughtercards(); + } #ifdef CONFIG_ESM_K3 if (board_ti_k3_is("J721EX-PM2-SOM")) {