From patchwork Wed Nov 21 19:29:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Niestroj X-Patchwork-Id: 1001360 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 430Xhy0rbyz9s3C for ; Thu, 22 Nov 2018 06:30:05 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 18C0FC2239A; Wed, 21 Nov 2018 19:29:59 +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 B0392C222FD; Wed, 21 Nov 2018 19:29:56 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 41E93C22257; Wed, 21 Nov 2018 19:29:55 +0000 (UTC) Received: from smtp.megiteam.pl (smtp.megiteam.pl [31.186.83.105]) by lists.denx.de (Postfix) with ESMTPS id EFF02C22029 for ; Wed, 21 Nov 2018 19:29:54 +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 1gPYC9-000367-IQ; Wed, 21 Nov 2018 20:29:53 +0100 From: Marcin Niestroj To: Stefano Babic Date: Wed, 21 Nov 2018 20:29:41 +0100 Message-Id: <20181121192944.10563-1-m.niestroj@grinn-global.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [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.19. One minor patch here is to use random ethaddr in order to make network usable on that board by default. 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