From patchwork Mon May 9 06:20:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishnav Achath X-Patchwork-Id: 1628548 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.a=rsa-sha256 header.s=ti-com-17Q1 header.b=jLclkm8w; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KxgBT5Fkjz9sGD for ; Mon, 9 May 2022 22:16:15 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8B1D883B32; Mon, 9 May 2022 14:16:00 +0200 (CEST) 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="jLclkm8w"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8D50983C13; Mon, 9 May 2022 08:20:26 +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=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 3CE9283C13 for ; Mon, 9 May 2022 08:20:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=vaishnav.a@ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2496KJms004600; Mon, 9 May 2022 01:20:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1652077219; bh=e6xV4VPy9PuK6uKtawCj91JKYDFbo8j43Q9Fh8JUYp8=; h=From:To:CC:Subject:Date; b=jLclkm8wIbB5y0SF/IPo+Mu7JA58yjj4V4LrKNsj0VtsY9C1noNztJHRTfNlXq2Rz ppTa+3lA+xuy3DmHOsoHETXqRUUDt/LVRl3qkQfRhObmLIOCOzPhByod0nof09K2Ry s2e8bH5gCS/AlkwN/UgbrFKXd93EqchjBY/gfYic= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2496KJuJ020439 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 9 May 2022 01:20:19 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 9 May 2022 01:20:19 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Mon, 9 May 2022 01:20:19 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2496KICN010720; Mon, 9 May 2022 01:20:18 -0500 From: Vaishnav Achath To: , , , , , , , CC: Subject: [PATCH 0/9] j721e: Add HyperFlash boot support Date: Mon, 9 May 2022 11:50:08 +0530 Message-ID: <20220509062017.27623-1-vaishnav.a@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Mailman-Approved-At: Mon, 09 May 2022 14:15:58 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.5 at phobos.denx.de X-Virus-Status: Clean This series adds support for Hyperflash boot for J721E, the changeset includes the missing pieces from: https://lore.kernel.org/all/20191010055207.26831-1-vigneshr@ti.com/T/#r2f1578fff04474473c82261670b88d2af16841ef and minor changes to support both OSPI and HyperFlash boot based on the Hypermux selection state similar to as done for J7200. Changes were tested on J721E SR1.1 for Hyperflash and OSPI boot. Thanks and Regards, Vaishnav Vaishnav Achath (9): arm: dts: k3-j721e-mcu-wakeup: Add HyperBus Controller node arm: dts: k3-j721e-som-p0: Add HyperFlash node arm: dts: k3-j721e-r5-common-proc-board: Add HyperFlash node arm: dts: k3-j721e-common-proc-board-u-boot: enable HyperFlash in SPL arm: dts: k3-j721e-common-proc-board: enable hyperflash mux sel GPIO arm: k3: sysfw-loader: add hyperflash support configs: j721e_evm.h: define CONFIG_SYS_FLASH_BASE ti: j721e: enable hyperflash spl fixup for j721e configs: j721e_evm_defconfig: Add HBMC related configs .../k3-j721e-common-proc-board-u-boot.dtsi | 24 ++++++++ arch/arm/dts/k3-j721e-common-proc-board.dts | 11 ++++ arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 20 ++++++- .../arm/dts/k3-j721e-r5-common-proc-board.dts | 45 +++++++++++++++ arch/arm/dts/k3-j721e-som-p0.dtsi | 32 +++++++++++ arch/arm/mach-k3/sysfw-loader.c | 28 +++++++++ board/ti/j721e/evm.c | 57 ++++++++++++++++++- configs/j721e_evm_a72_defconfig | 5 ++ configs/j721e_evm_r5_defconfig | 14 +++++ include/configs/j721e_evm.h | 2 + 10 files changed, 234 insertions(+), 4 deletions(-)