From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 05 Aug 2022 14:56:12 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oJws6-00CWHL-4m for lore@lore.pengutronix.de; Fri, 05 Aug 2022 14:56:12 +0200 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJws5-0005Ca-Ns for lore@pengutronix.de; Fri, 05 Aug 2022 14:56:11 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=MUMPfWgLNii/CO3xzPbyC/meF3wY+LnaI8fglfGEHPE=; b=wyiJs1aPxr2WyrMloPrUa8X4yG xddMA3E07J7+RbjcR6qa7GpYfi+NBpeVNOUPiEa9QDai7AbLVZx0PUIhBsXs5TlYBxZeF8OaU/i7a kmXyLGJJNhRerfUOJN7TL6UvDLRLOPS2hVQ6IHAMm9zvGjtt2gjxjH4T2x6RZ3AXIY1AMNev4IyZ/ mvWIQ1GQ+/jEl0Xlsk66bU+B5sXTP6FQYTZ1hbgdZ2MagMJhRy0/rKLPApbV7tvgT0YX/MlcWu/ds lWyVs0WUIidXxVSZwKIDKmv/W126BGILaYih7PngMHE3UHlsstMHHo+3wbTlwFf+jnSEeM0F3bC7V zpmhi1Jw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oJwqT-00FA4t-Ki; Fri, 05 Aug 2022 12:54:30 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oJwqJ-00FA0F-7l for barebox@lists.infradead.org; Fri, 05 Aug 2022 12:54:21 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJwqH-0004bd-DH; Fri, 05 Aug 2022 14:54:17 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oJwqE-001tgW-B3; Fri, 05 Aug 2022 14:54:16 +0200 Received: from afa by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oJwqF-004vsi-3K; Fri, 05 Aug 2022 14:54:15 +0200 From: Ahmad Fatoum To: barebox@lists.infradead.org Cc: mfe@pengutronix.de Date: Fri, 5 Aug 2022 14:54:04 +0200 Message-Id: <20220805125413.1046239-1-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220805_055419_365114_766432C2 X-CRM114-Status: GOOD ( 10.59 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH 0/9] ARM: i.MX8MN: clean up and enable imx-usb-loader X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) This series applies on top of <20220714072722.2863571-1-s.hauer@pengutronix.de> Ahmad Fatoum (9): ARM: i.MX8M: move TF-A chainload functions in ARM: i.MX8M: imx8mn-evk: use generic imx8mn_load_and_start_image_via_tfa ARM: i.MX8MN: add SDPS barebox-side support ARM: i.MX8MN: evk: simplify DDR4/LPDDR4 selection code ddr: imx8m: rename type to more fitting ddrc|dram_type ARM: i.MX8M: remove struct dram_timing_info::dram_type again pbl: generalize fsl i2c_early API into pbl_i2c i2c: add for PBL use ARM: i.MX8M: use new pbl/pmic.h API arch/arm/boards/ls1046ardb/lowlevel.c | 6 +- arch/arm/boards/mnt-reform/lowlevel.c | 28 +--- arch/arm/boards/mnt-reform/lpddr4-timing.c | 1 - arch/arm/boards/nxp-imx8mm-evk/lowlevel.c | 58 +++----- .../arm/boards/nxp-imx8mm-evk/lpddr4-timing.c | 1 - arch/arm/boards/nxp-imx8mn-evk/ddr4-timing.c | 1 - arch/arm/boards/nxp-imx8mn-evk/lowlevel.c | 140 ++++-------------- .../arm/boards/nxp-imx8mn-evk/lpddr4-timing.c | 1 - arch/arm/boards/nxp-imx8mp-evk/lowlevel.c | 61 +++----- .../arm/boards/nxp-imx8mp-evk/lpddr4-timing.c | 1 - .../boards/protonic-imx8m/lowlevel-prt8mm.c | 1 - .../protonic-imx8m/lpddr4-timing-prt8mm.c | 1 - arch/arm/mach-imx/atf.c | 40 ++++- arch/arm/mach-imx/include/mach/xload.h | 4 + common/ddr_spd.c | 24 ++- drivers/ddr/imx8m/ddr_init.c | 11 +- drivers/ddr/imx8m/ddrphy_train.c | 8 +- drivers/i2c/busses/i2c-imx-early.c | 21 ++- include/ddr_spd.h | 5 +- include/i2c/i2c-early.h | 13 -- include/pbl/i2c.h | 37 +++++ include/pbl/pmic.h | 41 +++++ include/soc/imx8m.h | 9 -- include/soc/imx8m/ddr.h | 79 +++++----- 24 files changed, 279 insertions(+), 313 deletions(-) delete mode 100644 include/i2c/i2c-early.h create mode 100644 include/pbl/i2c.h create mode 100644 include/pbl/pmic.h delete mode 100644 include/soc/imx8m.h -- 2.30.2