From patchwork Tue Mar 9 12:27:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 395985 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp2559465jai; Tue, 9 Mar 2021 04:56:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwUOPo12E00FUdk+aDWOekMO+yZeI3hsZ0yJGncDWiZaDuuqF+5qRmjoRqNUJbt16lGNh9W X-Received: by 2002:a17:906:228d:: with SMTP id p13mr20353451eja.412.1615294610437; Tue, 09 Mar 2021 04:56:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615294610; cv=none; d=google.com; s=arc-20160816; b=dF9ojAnghqQjKAUObHtHn9c5+RybXM9TLpDQzqQsJkUdryHTTJu1W80sYJQbrLOSgE n/w2R0nOObRH5h06bfFI9HQC4F5mIG+e8tVngvFDf5/8muTl74cB62QI0UDVO8K9nfnE baV2PPDKs24dXkixBhczbU4KojTq+JmAh6Fcy8G5gZapxRBqWe5yf3BMbeSnL7bVdEWg TkKSteROG9gi9s7Ch2eJWASs4rWSNkFBN3/X9e8ONXVogVHj2DqrUUzexqFsGcF61UWp xz+XtAnLyufkZuB1gIMuEsSLCu6y9EV6Kzzccl0SG4bbQ5caa+OxWvShJuCJFlxVsE3u +AyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=/3pT+Q66/OR59Oh0rDCRrc45W/oDtOttc32dcH8dths=; b=Gw1/Ozm27uPiq6n+g0J4A5zwxYNW5MHg4fL/edOREw1+8i0VlX3EMqZSZCAFyR9OI8 cwhwILBrOwrUy4FBub7PLoU7qngUl7c7lKy5QNpo93NhkJWwBvpltyjbXOZlvbrrAMjC Nb8CHpEOi5u0xFBf/A7QYv9eNX9Q6gbPfHJEHhMnc73reLbOlZ8ud8GSOLOFg4TwUfq/ wYNs441Coc6DzjW3yAEUaCxXseogMlmNpKRJRc2LanPMmYmPXNVssXq7xx7d95XKcO5n knJ38rklYCO8+eR1bHyHkmyQinVMwat0AgYOTf4gOhP1+KbUcc65CMkC3bQ2VFAYfXrJ ssGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kCtNCZf6; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id c6si9045281edr.602.2021.03.09.04.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 04:56:50 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kCtNCZf6; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CAD8F828B3; Tue, 9 Mar 2021 13:54:13 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.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=ti.com header.i=@ti.com header.b="kCtNCZf6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 86C04825F4; Tue, 9 Mar 2021 13:28:35 +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.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 9C84B8143F for ; Tue, 9 Mar 2021 13:28:32 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kishon@ti.com Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 129CSVVI071287; Tue, 9 Mar 2021 06:28:31 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1615292911; bh=/3pT+Q66/OR59Oh0rDCRrc45W/oDtOttc32dcH8dths=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=kCtNCZf6qMOrQbATxeR4ugLjE4yLQPEXzQCqEpIH09Zmw3Bu1VTKLOzRaGmiLEims QRQMAufVBxddfjjKfO2wxQkrNgko+9wfQaYOop6ipEEjXOx/n2R2TT8usEN5UReYhs Lj3GLiWIetYARGq/wVmmxuz3wS2Ooj31/eLuinow= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 129CSVi2064775 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Mar 2021 06:28:31 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 9 Mar 2021 06:28:30 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Tue, 9 Mar 2021 06:28:31 -0600 Received: from a0393678-ssd.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 129CRncd119584; Tue, 9 Mar 2021 06:28:29 -0600 From: Kishon Vijay Abraham I To: Lokesh Vutla , Simon Glass , Aswath Govindraju CC: Subject: [PATCH 16/16] configs: j7200_evm_a72: Enhance bootcmd to configure ethernet PHY Date: Tue, 9 Mar 2021 17:57:48 +0530 Message-ID: <20210309122748.31842-17-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210309122748.31842-1-kishon@ti.com> References: <20210309122748.31842-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Mailman-Approved-At: Tue, 09 Mar 2021 13:53:37 +0100 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.102.4 at phobos.denx.de X-Virus-Status: Clean Update the default BOOTCOMMAND to provide an automatic and easier way to configure ethernet PHY before loading the firmware. Signed-off-by: Kishon Vijay Abraham I --- configs/j7200_evm_a72_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/configs/j7200_evm_a72_defconfig b/configs/j7200_evm_a72_defconfig index bf78b36d22..5929bba82a 100644 --- a/configs/j7200_evm_a72_defconfig +++ b/configs/j7200_evm_a72_defconfig @@ -30,7 +30,7 @@ CONFIG_SPL_LOAD_FIT=y CONFIG_SPL_LOAD_FIT_ADDRESS=0x81000000 # CONFIG_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_BOARD_SETUP=y -CONFIG_BOOTCOMMAND="run findfdt; run envboot; run init_${boot}; run boot_rprocs; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern" +CONFIG_BOOTCOMMAND="run findfdt; run envboot; run init_${boot}; run main_cpsw0_qsgmii_phyinit; run boot_rprocs; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern" CONFIG_LOGLEVEL=7 CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y