Message ID | 20210626145602.15702-5-sinthu.raja@ti.com |
---|---|
State | Changes Requested |
Delegated to: | Lokesh Vutla |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) 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=RiQf1Jr8; 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 RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GBxyW0x18z9sWM for <incoming@patchwork.ozlabs.org>; Sun, 27 Jun 2021 01:05:55 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5491482C45; Sat, 26 Jun 2021 17:05:21 +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="RiQf1Jr8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5569682C2B; Sat, 26 Jun 2021 16:59:20 +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-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 9683082C24 for <u-boot@lists.denx.de>; Sat, 26 Jun 2021 16:59:17 +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-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by mx-outbound47-108.eu-central-1c.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 26 Jun 2021 14:59:16 +0000 Received: by mail-pf1-f200.google.com with SMTP id 197-20020a6219ce0000b029030a0d1ff0ffso1313905pfz.15 for <u-boot@lists.denx.de>; Sat, 26 Jun 2021 07:59:16 -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=SoEKV1XAPPSahDUoGYLiQFs8/wf1wUu5Sz9YsGhnNOM=; b=RiQf1Jr8Nw6UOLJo7T/AQYW1NmMxIsK99Ii3z1ENkWPvz+GybF1oFsdkWqnBNlDaps uBGvz8RPQ8tysVGB2ZvtvLjl5RcN9pjEAeYFp/2eKUZbX9A6ThfaHwweEZlK3IIFdnJR R9SXQtA5yDBttxBTtRb7t3QXsPP9I4H9LRiUU= 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=SoEKV1XAPPSahDUoGYLiQFs8/wf1wUu5Sz9YsGhnNOM=; b=VkawvK8NIJAXT7n1pq5CFRkBHH42SSvYBIzl4kgPbTeShib/muHscDCJgjr2nDzsC0 uq3qHA7wS97XmlcfiQyWVQlA2AnPV8+VfmLn+zfJ5NZt2sAJtquv2RjksOJfWDrArQY6 WvmWgjGCOT8Zy7wiD5rV/8nz8u6W8qpi/P2+5ACKPrLI+o2/IJ9Q5qr1TR2in3mVQhl7 7X0GcGY+Ex1ayNyXPyQMUZjbesnM1ybmW3BbSLgduyvk9hLXJpsZy+d1t18A1UqF4Sgl dlxcoLAoaPcgqG4Qd6/sSs0spr94mkomPJVgYnqKzSppcZoNZqQFQZ2ysQRQ0P4CBflG OoUQ== X-Gm-Message-State: AOAM530WsRfmfpn1jdrHiXLW7qMYCygRNqzRnmdmG9yi02AZRHRo1pl1 hNI9bhrMP/+s+/uISG3ePLLJLo4Mo4qlcbXZNKdUaklaZvOx1BVyLkC7NnhQCGjVRiDXMhChsES S7js3kLMsH9c1nbickrBqMpZGTwQ79rkGmOGHbdnBHVSG1Upx2g== X-Received: by 2002:a63:f19:: with SMTP id e25mr14564444pgl.278.1624719555361; Sat, 26 Jun 2021 07:59:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDCz+QXJtWToKn1vin5q2my+1VqafWNyjRY9zZ4o1Y72C5zk5Q7Bw7Aaqv8gqM/DuzRTld2w== X-Received: by 2002:a63:f19:: with SMTP id e25mr14564437pgl.278.1624719555176; Sat, 26 Jun 2021 07:59:15 -0700 (PDT) Received: from localhost.localdomain ([49.207.221.44]) by smtp.gmail.com with ESMTPSA id g18sm8769245pfi.199.2021.06.26.07.59.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Jun 2021 07:59:14 -0700 (PDT) From: Sinthu Raja <sinthu.raja@mistralsolutions.com> X-Google-Original-From: Sinthu Raja <sinthu.raja@ti.com> To: u-boot@lists.denx.de Cc: Praneeth Bajjuri <praneeth@ti.com>, Vutla Lokesh <lokeshvutla@ti.com>, Amarnath MB <amarnath.mb@ti.com>, Sinthu Raja <sinthu.raja@ti.com> Subject: [PATCH 04/17] board: ti: j721e: Guard functions with right #ifdef to avoid build warnings Date: Sat, 26 Jun 2021 20:25:49 +0530 Message-Id: <20210626145602.15702-5-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 Content-Transfer-Encoding: 8bit X-BESS-ID: 1624719556-312140-3418-28679-1 X-BESS-VER: 2019.1_20210623.1648 X-BESS-Apparent-Source-IP: 209.85.210.200 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 <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.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
arm: k3-j721e: Add support for J721E EAIK
|
expand
|
diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index b9a9f19552..23e739bcd3 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -170,6 +170,7 @@ int checkboard(void) return 0; } +#ifdef CONFIG_BOARD_LATE_INIT static void setup_board_eeprom_env(void) { char *name = "j721e"; @@ -208,6 +209,7 @@ static void setup_serial(void) snprintf(serial_string, sizeof(serial_string), "%016lx", board_serial); env_set("serial#", serial_string); } +#endif /* * Declaration of daughtercards to probe. Note that when adding more @@ -384,6 +386,7 @@ static int probe_daughtercards(void) } #endif +#ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { if (IS_ENABLED(CONFIG_TI_I2C_BOARD_DETECT)) { @@ -396,6 +399,7 @@ int board_late_init(void) return 0; } +#endif void spl_board_init(void) {