Message ID | 20221227121543.22306-6-sinthu.raja@ti.com |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.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=Vxrnynm2; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NhDDs69pDz23dZ for <incoming@patchwork.ozlabs.org>; Tue, 27 Dec 2022 23:17:33 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 519048553B; Tue, 27 Dec 2022 13:16:37 +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="Vxrnynm2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7AB9085523; Tue, 27 Dec 2022 13:16:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from egress-ip4b.ess.de.barracuda.com (egress-ip4b.ess.de.barracuda.com [18.185.115.208]) (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 CAFA785518 for <u-boot@lists.denx.de>; Tue, 27 Dec 2022 13:16:24 +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-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx-outbound40-137.eu-central-1c.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 27 Dec 2022 12:16:23 +0000 Received: by mail-pg1-f198.google.com with SMTP id e7-20020a636907000000b00486a75ac49dso6631658pgc.19 for <u-boot@lists.denx.de>; Tue, 27 Dec 2022 04:16:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZIZb5Dwez0CT+V/we4zMONa0Tt5Fhbk6MqbpAQdcgYM=; b=Vxrnynm2L4tJnGHSmzaAx8iJBzOUwkdquIfkfWVASsn6OyyXF2jJm9N+bTWZKGd6qQ 8Hs/OtpQ0+gltRVYSwL2TuTXiYhqiEvXje8bVCiI3FFvmiBqIdqP0QYolCAYw6a+1HEs 7wJI2KKiFxW02ReM9DV+V14v3q9sbBVe/UoGo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZIZb5Dwez0CT+V/we4zMONa0Tt5Fhbk6MqbpAQdcgYM=; b=T3fn/OIlcxomHhMP002lZbqdVPixeS+bAyLfJrz/u3M8Q67Aln3ueRPQ1TU0WCpef9 +8gsTwCIqgLsiOqVNVgAUFyCyLw1t0xDXpwlB4NCtBmwLAV7INIbADvKzXzZcvZytmMz nfwWLKFEqOCL2PZhk8z3/6gHck9F1hBKMIEdbUCYh5m2FxljzTNH6qmFiYE1BqFzC9bZ /kTioYVOtWGVuO8ckxOLqXz9gNupDHp2HYE9kkVgaTTX7mELghJcpghPmH5vFY8plVns WLwWGSwBqLio+keerBbZVz/enI7sKw//o061GPEHwLOUTxoLj9VmAgoeVvv6gYEuKHoC d0Aw== X-Gm-Message-State: AFqh2kqA/y48JbLI/Cwzl6RbSrJ8vs2hbRAxg52cmlbbokHcEMHhhnuE Aoc46mrPPbDhFZA4b8sHs6bi1BA/cMKrOcUBokE0sIPI1vGPyaEq9NiNV1wKS0UbCVqMVCyhwTI rrsWWwOIAvx2lMWO3F73CaQycfrNasl0JGR1utRSjAXlgHOUZag== X-Received: by 2002:a17:90a:8a90:b0:219:396c:9e2e with SMTP id x16-20020a17090a8a9000b00219396c9e2emr23653497pjn.11.1672143382211; Tue, 27 Dec 2022 04:16:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXsAhDpQ+0CD2HNyBDML0EhWpgDuCd7+t4HOtrw7nLmDlOjTXsVGuQpTBWNmWKNWcrrIwZsHJA== X-Received: by 2002:a17:90a:8a90:b0:219:396c:9e2e with SMTP id x16-20020a17090a8a9000b00219396c9e2emr23653484pjn.11.1672143381920; Tue, 27 Dec 2022 04:16:21 -0800 (PST) Received: from LAP568U.mistral.in ([106.51.227.150]) by smtp.gmail.com with ESMTPSA id h19-20020a17090adb9300b0021806f631ccsm7975892pjv.30.2022.12.27.04.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Dec 2022 04:16:21 -0800 (PST) From: Sinthu Raja <sinthu.raja@mistralsolutions.com> X-Google-Original-From: Sinthu Raja <sinthu.raja@ti.com> To: u-boot@lists.denx.de, Tom Rini <trini@konsulko.com>, Marcel Ziswiler <marcel.ziswiler@toradex.com>, Marek Vasut <marex@denx.de>, Vignesh Raghavendra <vigneshr@ti.com> Cc: Sinthu Raja <sinthu.raja@ti.com> Subject: [PATCH V3 05/12] board: ti: j721s2: Enable support for reading EEPROM at next alternate address Date: Tue, 27 Dec 2022 17:45:36 +0530 Message-Id: <20221227121543.22306-6-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20221227121543.22306-1-sinthu.raja@ti.com> References: <20221227121543.22306-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1672143383-310377-5585-144131-1 X-BESS-VER: 2019.1_20221214.2106 X-BESS-Apparent-Source-IP: 209.85.215.198 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.245076 [from cloudscan11-38.eu-central-1a.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, BSF_SC0_MISMATCH_TO 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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
AM68: Add support for AM68 Starter Kit
|
expand
|
diff --git a/board/ti/j721s2/evm.c b/board/ti/j721s2/evm.c index f223ccf2c6..a3adb8704e 100644 --- a/board/ti/j721s2/evm.c +++ b/board/ti/j721s2/evm.c @@ -113,9 +113,15 @@ int do_board_detect(void) ret = ti_i2c_eeprom_am6_get_base(CONFIG_EEPROM_BUS_ADDRESS, CONFIG_EEPROM_CHIP_ADDRESS); - if (ret) - pr_err("Reading on-board EEPROM at 0x%02x failed %d\n", - CONFIG_EEPROM_CHIP_ADDRESS, ret); + if (ret) { + printf("EEPROM not available at 0x%02x, trying to read at 0x%02x\n", + CONFIG_EEPROM_CHIP_ADDRESS, CONFIG_EEPROM_CHIP_ADDRESS + 1); + ret = ti_i2c_eeprom_am6_get_base(CONFIG_EEPROM_BUS_ADDRESS, + CONFIG_EEPROM_CHIP_ADDRESS + 1); + if (ret) + pr_err("Reading on-board EEPROM at 0x%02x failed %d\n", + CONFIG_EEPROM_CHIP_ADDRESS + 1, ret); + } return ret; }