From patchwork Sat Jan 19 16:06:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Niestroj X-Patchwork-Id: 1027982 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=fail (p=none dis=none) header.from=grinn-global.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43hjRy4Wy8z9sBQ for ; Sun, 20 Jan 2019 03:09:18 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 35487C21C2C; Sat, 19 Jan 2019 16:08:09 +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 F219EC21E7F; Sat, 19 Jan 2019 16:07:41 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1EA62C21E49; Sat, 19 Jan 2019 16:07:38 +0000 (UTC) Received: from smtp.megiteam.pl (smtp.megiteam.pl [31.186.83.105]) by lists.denx.de (Postfix) with ESMTPS id E87ECC21E42 for ; Sat, 19 Jan 2019 16:07:34 +0000 (UTC) Received: from [95.143.241.142] (helo=localhost.localdomain) by smtp.megiteam.pl with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gkt9b-0008IZ-Aj; Sat, 19 Jan 2019 17:07:28 +0100 From: Marcin Niestroj To: u-boot@lists.denx.de Date: Sat, 19 Jan 2019 17:06:44 +0100 Message-Id: <20190119160647.24471-1-m.niestroj@grinn-global.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [U-Boot] [RESEND PATCH 0/3] ARM: liteboard: move towards driver model and device-tree boot 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" Hi, This patch moves board support code to use driver model where possible and device-tree bot. As part of that we import DTS files from Linux v4.20. One minor patch here is to use random ethaddr in order to make network usable on that board by default. This is a resend of patches [1]. Everything was rebased on master. [1] https://lists.denx.de/pipermail/u-boot/2018-November/348624.html Marcin Niestroj (3): ARM: dts: imx6ul-lite*: add DTS files for liteSOM and liteboard ARM: liteboard: move towards driver model and device-tree boot ARM: liteboard: use random ethaddr arch/arm/dts/Makefile | 3 +- arch/arm/dts/imx6ul-liteboard.dts | 151 ++++++++++++++++++++++++++++++ arch/arm/dts/imx6ul-litesom.dtsi | 82 ++++++++++++++++ board/grinn/liteboard/board.c | 36 ------- configs/liteboard_defconfig | 12 ++- 5 files changed, 246 insertions(+), 38 deletions(-) create mode 100644 arch/arm/dts/imx6ul-liteboard.dts create mode 100644 arch/arm/dts/imx6ul-litesom.dtsi