From patchwork Fri May 31 15:56:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 1108419 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45Fpxl3Qq5z9sCJ for ; Sat, 1 Jun 2019 01:57:47 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 3250CC21BE5; Fri, 31 May 2019 15:57:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id CBAD0C21E2F; Fri, 31 May 2019 15:57:28 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B3E3CC21E38; Fri, 31 May 2019 15:57:18 +0000 (UTC) Received: from mout.perfora.net (mout.perfora.net [74.208.4.196]) by lists.denx.de (Postfix) with ESMTPS id EA09DC21DD9 for ; Fri, 31 May 2019 15:57:14 +0000 (UTC) Received: from marcel-nb-toradex-int.toradex.int ([194.105.145.87]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MHFTY-1hJalB0yTw-00DJ80; Fri, 31 May 2019 17:56:53 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Date: Fri, 31 May 2019 18:56:37 +0300 Message-Id: <20190531155639.9132-1-marcel@ziswiler.com> X-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t2dRFYBm03AxlIQgCk4K5Og== Cc: Igor Opaniuk , Marcel Ziswiler , Michal Simek , Marcel Ziswiler , "NXP i.MX U-Boot Team" , Stefan Roese , Maxime Ripard , Marek Vasut Subject: [U-Boot] [PATCH v7 0/2] colibri imx8qxp 2gb wb it v1.0b module support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" This series fixes building for i.MX8 without SPL and last but not least introduces support for the Toradex Colibri iMX8QXP 2GB WB IT V1.0B module. This series is available together with the last few clean-up patches on our git server [1] as well. [1] http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next Changes in v7: - no longer explicitly disable CONFIG_CMD_CRC32, CONFIG_CMD_EXPORTENV, CONFIG_CMD_IMLS and CONFIG_CMD_IMPORTENV - increase max gunzip size (CONFIG_SYS_BOOTM_LEN) to 64 MB - enable CONFIG_IMX_SCU_THERMAL - rename board file and folder to more generic colibri-imx8x to be used for all SKUs - just exclusively use distro_bootcmd trying SD card before eMMC - enable FDT relocation - added update_uboot helper wrapper as internally suggested by Igor Changes in v6: - Use firmware-imx-8.0 matching NXP's sumo-4.14.78-1.0.0_ga BSP as suggested by Max during review of Apalis iMX8QM. - Drop anyway commented out board_gpio_init() stuff. - Drop Qualcomm (formwerly Atheros) AR8031 specific board_phy_config() stuff not applicable to the Micrel PHY we are using as suggested by Max during review of Apalis iMX8QM. Changes in v5: - Keep alphabetical order of device trees in Makefile. - Order targets in Kconfig alphabetically. - Fix indentation in SPDX. - Remove stale includes from board file. - Take into account ahab-container being platform specific. - Use vidargs instead of multiple discrete video= in configuration. - Fix console baudrate specification. - Remove redundant CONFIG_SYS_MMC_ENV_DEV define and add some clarifying comment. - Fix product name being Colibri iMX8X in a comment. - Remove obsolete CONFIG_NR_DRAM_BANKS. Changes in v4: - Fixed SPDX as well as using SZ_ macros where applicable as suggested by Igor. - Fixed superfluous trailing line continuation introduced by commit 0d331c035a09 ("imx: support i.MX8QM MEK board") in the Makefile plus sorted stuff alphabetically again. - Applied changes similar to commit 3b9ac5415084 ("imx: 8qxp_mek: fix fdt_file and console"). However, note that using ${baudrate} in console= like that won't actually work! - Applied changes similar to commit e5b8f7e665aa ("imx8qxp: mek: enable dm-spl for pm"). Changes in v3: - Added Igor's reviewed-by tag. Changes in v2: - Changed imx-atf git clone command to include initial branch information as suggested by Igor. - Sorted board file includes alphabetically as suggested by Igor. - Got rid of SPL configuration in legacy header file as suggested by Igor and the whole use of SPL on i.MX 8X anyway neither works well nor makes any much sense at all. Marcel Ziswiler (2): imx: fix building for i.mx8 without spl board: toradex: add colibri imx8qxp 2gb wb it v1.0b module support arch/arm/dts/Makefile | 3 +- arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi | 117 +++++++ arch/arm/dts/fsl-imx8qxp-colibri.dts | 328 ++++++++++++++++++ arch/arm/mach-imx/Makefile | 2 + arch/arm/mach-imx/imx8/Kconfig | 12 +- board/toradex/colibri-imx8x/Kconfig | 30 ++ board/toradex/colibri-imx8x/MAINTAINERS | 9 + board/toradex/colibri-imx8x/Makefile | 6 + board/toradex/colibri-imx8x/README | 66 ++++ .../colibri-imx8qxp-imximage.cfg | 24 ++ board/toradex/colibri-imx8x/colibri-imx8x.c | 160 +++++++++ configs/colibri-imx8qxp_defconfig | 54 +++ include/configs/colibri-imx8x.h | 165 +++++++++ 13 files changed, 972 insertions(+), 4 deletions(-) create mode 100644 arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi create mode 100644 arch/arm/dts/fsl-imx8qxp-colibri.dts create mode 100644 board/toradex/colibri-imx8x/Kconfig create mode 100644 board/toradex/colibri-imx8x/MAINTAINERS create mode 100644 board/toradex/colibri-imx8x/Makefile create mode 100644 board/toradex/colibri-imx8x/README create mode 100644 board/toradex/colibri-imx8x/colibri-imx8qxp-imximage.cfg create mode 100644 board/toradex/colibri-imx8x/colibri-imx8x.c create mode 100644 configs/colibri-imx8qxp_defconfig create mode 100644 include/configs/colibri-imx8x.h