From patchwork Tue Sep 22 09:23:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 1368878 X-Patchwork-Delegate: priyanka.jain@nxp.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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=mwMpDvpC; 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 4Bwbk00Dfbz9sR4 for ; Tue, 22 Sep 2020 19:34:31 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D0F79825B8; Tue, 22 Sep 2020 11:33:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.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=nxp.com header.i=@nxp.com header.b="mwMpDvpC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C96AC825A3; Tue, 22 Sep 2020 11:32:48 +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=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2062c.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::62c]) (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 D6B46825AF for ; Tue, 22 Sep 2020 11:32:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=zhiqiang.hou@nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LDvtsgDUFF/kZL2cOuI1oNOzWUECUO3/4ipNxibwWtyql2d7NrqoN1cGDul6n+dnHaWP7xzKUzXq6bP2NFIPXlFkN4mkx3HY22lXT3d9I6zMXPMefygXCs/PTrIi9+DyvV5LnHg84ExcUg3TtNBLXelHJHgUcSPnsDyfdVE4mqjZJzqVHEk0ryZVUNLCSK4qoltFgA7VwYtRE8TF72g9QtHIoADD1dKjZmgtOqLfW9E5SYKrsi4TGUJKleQqgoRtLeoMeNvwurt07YQTkN1cD00LMIFmwsefvuQEzzAGpcXlideLWb8ua4ojbi67WrDgmde0klopsMsfIUmm596AbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dmzsn3oLTg8eXWxNagXVcX14pEvnzCMAUhkOSyMII2s=; b=KRUJuLKEwCQsfcQ1PTq81b73pdGQ5qBnSCUkYzWiNF/OrQMM9N1poptinBjDCpyn3NAf/AMmPUT607kYyC4b3Flbrwyzf3zFzW1reRkEZN0rTpAj8g7ZZW+G52V8aq6Wjfq1RcaxpTPibp0Fzh0thLgoKD2mA1ymGPKyVPw43pVFxGnwNb1WDqXC1+oi4AjQeJVJpNg5em+nl+r3kQ1T1SYrsHYB35awvbDcs+ZOsjFoObJeRMfOh65VF+dyD7yNJLArv1iOiFJhWRXT0oM+XqM7JtG5oNLK9lneLo1B/GRJL2pbbul0NSaBkV/HuON7sBYgx5SK8TjL9px8eUgvvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dmzsn3oLTg8eXWxNagXVcX14pEvnzCMAUhkOSyMII2s=; b=mwMpDvpCvOUPwir0Y/aZ7WFIT3xiZ/xCZ4bKiumnkwWrGTNhwsySu9xBqGML9++nQnZ13hBoD0MNL8cl6scKlSEtXCsqqPH7RhPVvGPkd/a4ajotS5ngXZkXG/VFA86RPWVzm/SQEyipKmxkPa4ZO1aWbxiDnbcyn8UK6bJtHpY= Authentication-Results: lists.denx.de; dkim=none (message not signed) header.d=none;lists.denx.de; dmarc=none action=none header.from=nxp.com; Received: from HE1PR0402MB3371.eurprd04.prod.outlook.com (2603:10a6:7:85::27) by HE1PR0402MB2889.eurprd04.prod.outlook.com (2603:10a6:3:d6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.17; Tue, 22 Sep 2020 09:32:44 +0000 Received: from HE1PR0402MB3371.eurprd04.prod.outlook.com ([fe80::c872:d354:7cf7:deb9]) by HE1PR0402MB3371.eurprd04.prod.outlook.com ([fe80::c872:d354:7cf7:deb9%3]) with mapi id 15.20.3391.026; Tue, 22 Sep 2020 09:32:44 +0000 From: Zhiqiang Hou To: u-boot@lists.denx.de, bmeng.cn@gmail.com, olteanv@gmail.com, priyanka.jain@nxp.com Cc: Hou Zhiqiang Subject: [PATCHv6 09/18] configs: p1_p2_rdb: Add the default address of vsc7385 firmware Date: Tue, 22 Sep 2020 17:23:38 +0800 Message-Id: <20200922092347.19141-10-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200922092347.19141-1-Zhiqiang.Hou@nxp.com> References: <20200922092347.19141-1-Zhiqiang.Hou@nxp.com> X-ClientProxiedBy: SG2PR06CA0169.apcprd06.prod.outlook.com (2603:1096:1:1e::23) To HE1PR0402MB3371.eurprd04.prod.outlook.com (2603:10a6:7:85::27) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.73) by SG2PR06CA0169.apcprd06.prod.outlook.com (2603:1096:1:1e::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.13 via Frontend Transport; Tue, 22 Sep 2020 09:32:41 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [119.31.174.73] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 0499fbdf-1010-432c-789f-08d85eda7534 X-MS-TrafficTypeDiagnostic: HE1PR0402MB2889: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LVxXF7aH0E+843qMwQrTLnVSmE7OHUmPmSuYygylViSPsJ6QiaoEcCgSnfH7zckitrebKG9MLgKF/Tpnewi+ZHIudDbu6OLSrBaFblcdIOzDumVrDXq+TESos4n64DE18v7ygkVfPgqZTAfCWmphtoeYvm5RP7W8fd0p326pUAd0O0EEfTxIg0KubIq845CAJyeBxyEoKurIayqBDjynG+FUtBCSbaDi8/ylFPrJooUjAs0DLOtF1mF/LN7cXeHfedVXEUiVCPR5+0njrRvn9E6SGOYD0D2nhMxTgVg4rMTU36nim0MJfD6g480VTwbxmwQdLzEtRs1ctgMsYlnprS+kQ+Sj9tLksSDjKKzxVOHj47682oQchVIUZVKDCwaf X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0402MB3371.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(376002)(136003)(396003)(39860400002)(346002)(8676002)(66946007)(6636002)(5660300002)(316002)(8936002)(6512007)(4326008)(66556008)(66476007)(2906002)(83380400001)(186003)(26005)(478600001)(86362001)(69590400008)(6506007)(1076003)(52116002)(16526019)(956004)(6486002)(36756003)(2616005)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: ZoRFYTrWAJd7+LRQUXK7ctd/QDcKImi47Ihw56YPaPR3UjryILqxCiohomKtXbSvo2CyLLHokRINnhodpudpf2Db+rv5ccgfFE6Wq7Q8yDB5afkFSv0wHxEF7j5ZLptOIYpn7uj/htW5uaajpzPZyHTRGpRuqlqitszSL44XO2PzMBcoXnGc5vnc3Q9ADjDmsQbeCzde6lS+CQziw4ypa6JcPa7fCUVrRY06jVDqEE9PQLQDA5g52CZJJNiLOMuRB6RuwY4YUqHEssXEb7498ka0GH14xawSV9fP0/Dk/1t3PMoCn8CzcJ4xuuQH55V9ctJLfxRaSZJiz9hT95YFrq6RmH7dRuVsrfY3nf9LJBYbZqP/wFu3E64wB+U86DAd/l6YIl0bvv2Ngfb7dM4sl8A5g3XEQtvKpk/wCj9DORL2mxI5gTIXNa8Rkf5F/vjMUl9Iv00lXfK2tnPdU0LcE58n4rA3mAhBZHkl25hmrlg1A8x21pfNjKiWEiZe5WVZoA5QWLSCGV7CLHkFhBdygJbnNKIa86Jvi7GDvi38LH1PvumvPoKnyZ+9qCFh/ccs5apumam0+V5PCnJKj7FlBojaysIHh0lMuh8/kLJkIQEvdZaCSwCVQR79G5oY7MQimiUgFjHQTlhrxOr9EBjswA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0499fbdf-1010-432c-789f-08d85eda7534 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB3371.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2020 09:32:43.9277 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FoqdTxpZ/XnUAeq4+ZwTcZCo5vuO8SgEc/rk7509tOBV4ZBegx6phIxzZD319mSbPo1vsxA/kuKJTzfWPVGUmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB2889 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.3 at phobos.denx.de X-Virus-Status: Clean From: Hou Zhiqiang Add the environment 'vscfw_addr' to assign a default address for vsc7385 firmware uploading. Signed-off-by: Hou Zhiqiang --- V6: - No change. include/configs/p1_p2_rdb_pc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h index 1b74177b2f..a159285c98 100644 --- a/include/configs/p1_p2_rdb_pc.h +++ b/include/configs/p1_p2_rdb_pc.h @@ -451,6 +451,7 @@ /* Vsc7385 switch */ #ifdef CONFIG_VSC7385_ENET +#define __VSCFW_ADDR "vscfw_addr=ef000000" #define CONFIG_SYS_VSC7385_BASE 0xffb00000 #ifdef CONFIG_PHYS_64BIT @@ -809,6 +810,7 @@ i2c mw 18 3 __SW_BOOT_MASK 1; reset "ramdisk_size=120000\0" \ "map_lowernorbank=i2c dev 1; i2c mw 18 1 02 1; i2c mw 18 3 fd 1\0" \ "map_uppernorbank=i2c dev 1; i2c mw 18 1 00 1; i2c mw 18 3 fd 1\0" \ +__stringify(__VSCFW_ADDR)"\0" \ __stringify(__NOR_RST_CMD)"\0" \ __stringify(__SPI_RST_CMD)"\0" \ __stringify(__SD_RST_CMD)"\0" \