Message ID | 20230110131016.12480-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=O0Og1OIU; 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 4NrrnB4L3Hz23gB for <incoming@patchwork.ozlabs.org>; Wed, 11 Jan 2023 00:11:58 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 302FA85528; Tue, 10 Jan 2023 14:11:22 +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="O0Og1OIU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E8AC785445; Tue, 10 Jan 2023 14:11:07 +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 CF41885482 for <u-boot@lists.denx.de>; Tue, 10 Jan 2023 14:10:49 +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-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mx-outbound22-122.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 10 Jan 2023 13:10:48 +0000 Received: by mail-pg1-f200.google.com with SMTP id r22-20020a63ce56000000b00478f1cfb0fbso5176151pgi.0 for <u-boot@lists.denx.de>; Tue, 10 Jan 2023 05:10:48 -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=CJbjcNPXBGDrUIhC+RKaaF6G7J57rrIlxjQuWLtEzHE=; b=O0Og1OIU84e3J14obveqoEjv4PsRWyTNbpU9hVXRqUtIIHz6soEdGbqV9havNYHYAn E5h/qJt0M1kdjj8cI4I+8AWkgBsff2gqmt5vuV+wu0dE3rgPggbyeVUTP2PiNIfSsBWJ cS1dLKc0YWky2ha4/Py9Gjc413h3vrGFDTtbo= 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=CJbjcNPXBGDrUIhC+RKaaF6G7J57rrIlxjQuWLtEzHE=; b=b40G0c/O/Amni2tAoYCHbxm8u3UYud3s6Pe330gfEADHMLsUwENv7cwMPChKJgSI7M vdeUSwi2rdWAF7POpPrvuK1v0MDxvo2PDDIwTxAw1OTPxknkiR5bd00D0BfaRsXKjwBp DAsn5SVhcnY0fm+0A9GTZhHK7ILWLJMAdgMwV1/5jQjkPbA6kyS7uOvfeacLFk802Xah mJthfOie/2zMrp5iLi0qWySlF0emlzeR3P3LF0zLv6Pl3KIigp8VvJ0wdS4B/i4xC51o J5tMUjq7yv3sBKt/Um+bJmFmuSODIVFfvov+ejgK4wFD4weYBBnUrecV9qKE35qBl+gz MbUA== X-Gm-Message-State: AFqh2ko8WAcCy0folh85pZCHUx5CRFy9J7VrEO3DA6yNWw7vP2qFazyY X/cpadlSQtAUGpxjVHVRJOfSjbEYRK3azplRdDN3zWrSjRn5CHkxpjzfpcVp9O+WYD70Dlbh7jG Xm08xzHLHP9kaN/BoO5yLAqibOOmzXujARUpkVX8fxdIYKcCROQ== X-Received: by 2002:a05:6a20:1455:b0:af:730d:204a with SMTP id a21-20020a056a20145500b000af730d204amr92235413pzi.8.1673356246684; Tue, 10 Jan 2023 05:10:46 -0800 (PST) X-Google-Smtp-Source: AMrXdXt8RF44qOBOMzmhmtU2FDKwHJDvqEe0dafeHu40Uirveru4MO4NqOLJ1CsnmxJ8TNH9P+1zRg== X-Received: by 2002:a05:6a20:1455:b0:af:730d:204a with SMTP id a21-20020a056a20145500b000af730d204amr92235390pzi.8.1673356246367; Tue, 10 Jan 2023 05:10:46 -0800 (PST) Received: from LAP568U.mistral.in ([106.51.227.150]) by smtp.gmail.com with ESMTPSA id 14-20020a630c4e000000b00478f87eaa44sm6654907pgm.35.2023.01.10.05.10.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 05:10:45 -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 V5 05/12] board: ti: j721s2: Enable support for reading EEPROM at next alternate address Date: Tue, 10 Jan 2023 18:40:09 +0530 Message-Id: <20230110131016.12480-6-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230110131016.12480-1-sinthu.raja@ti.com> References: <20230110131016.12480-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1673356247-305754-5401-7030-1 X-BESS-VER: 2019.1_20221214.2106 X-BESS-Apparent-Source-IP: 209.85.215.200 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.245374 [from cloudscan16-56.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header 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_SC0_MISMATCH_TO, 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 <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; }