From patchwork Sat Jun 2 17:22:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matwey V. Kornilov" X-Patchwork-Id: 137595 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2335363lji; Sat, 2 Jun 2018 10:23:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK/6xkBgG6Hc+oYW10jUXox7Wj1DQVDTtVJAXl388PhtwYn9SdwMm8yLe81Ncbe1OC61Qyi X-Received: by 2002:a50:8bfa:: with SMTP id n55-v6mr17156548edn.216.1527960207723; Sat, 02 Jun 2018 10:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527960207; cv=none; d=google.com; s=arc-20160816; b=emc6lmTgDJXZLuMdBMwcpJqoeqVOgPPT4iZ4yltA0wHP1BJIr3jPLVtHTpuLUt8M5x WUjtPDgMj7Q+yvHte/WzLf0aEoW+VMzlZ+77Y3423nDafJM2FTizrwTb9jqopv7IFsBh 34zX/kw7iET/nlNGeKNY5NPtTVJe07ZUmrwU7lM93QuQtapxipvQ2PwtGoTFEPLJp5Sy 6PIVy6IAYWqZLojaP/Xs9Ib1MROngW6TFNw1u0ne8kQUMlGjHZMclhNsDuN3y3xxcTS/ +nwL5m1imRbHubYBHYtmeRB3u8AcUSGtcnW/BhpIY59TJNkozIk1wpWMIvaBTUpXe0Y7 CF6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:arc-authentication-results; bh=7LpPnDJI58a3K23ybPL4qFAtWUfDgouvax8bzQyuOQE=; b=tmWcqWtvriPjiEueJiGciiKXNs0B2aPbUe+7rvuUhpJ147vCx9JeC78KGcMNa6r6ZV owl7Wk3zSMGX5BwZLh/6IegmGoNerEwSoQ/w5ZP0CF1O7/oHQH5p6iKpRrlj0e0k1Tsa XLmv1Fs5eJ/KVKRpZyyGJeX+nuQFXcqsKCUEtPZh2hBtVmBkZwe++EHIWTnEonrMu1QP JQtOD+T0c53blU96lB2XFKO8BskY4mJLGLovd8wx4OW9f90l5TamDJWnWvIUfy7rqvJJ dC+qO4KKDrY9W9ToTfBpUkpiGhcWUMgZ4dZy5TKxVWgmw6xxa+OgMMxM2FaHjFIHqHYq C/uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=UPpQAMkf; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id n6-v6si829972edq.198.2018.06.02.10.23.27; Sat, 02 Jun 2018 10:23:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=UPpQAMkf; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by lists.denx.de (Postfix, from userid 105) id 3E0CAC21DB5; Sat, 2 Jun 2018 17:22:57 +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=FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID 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 26864C21DE8; Sat, 2 Jun 2018 17:22:40 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 47480C21C2F; Sat, 2 Jun 2018 17:22:38 +0000 (UTC) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by lists.denx.de (Postfix) with ESMTPS id DCDEDC21C27 for ; Sat, 2 Jun 2018 17:22:37 +0000 (UTC) Received: by mail-lf0-f67.google.com with SMTP id r2-v6so19223846lff.4 for ; Sat, 02 Jun 2018 10:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+3O3/SR/4j+pIJEErpPXjpTSrg4MdAG3fyHlusjHefM=; b=UPpQAMkfNBqIje9mecsQD3KmLbnTbHz2jWYeqRE/FFPJn/4/Q5Z5mSOXM5XeWdmuQA Ed3ZOduLU2l+7CaN9KjICXSnMJRimXE+wI9P6tUcikiJiuI5WsWXcekjJUhheecER1su /xerCnQZJFYKxedHDRRhfw+lN1Hc84E7Wdkwbay8bilYP8bY458VzACWRaS7TSP9JMO9 n1wlVcrcOyb/DV4iNhOqtnk37Ryf2TbOLF/OvdI3YEBfqfeh0PH4RUuBcNPHrx3KPh2t FbC//kHRvVXWgK3QDLRL7FdnZ3gAIfeRvoGWR1pBi9IlOCrNaOt+OyGN4vktBX26Ptn4 Toeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+3O3/SR/4j+pIJEErpPXjpTSrg4MdAG3fyHlusjHefM=; b=Lzj+dJsW2tA527+VHsQWsovMAB4dR6Ps49xv6/pSpqgOPnoYsptFlUWCUPvLXPLFuY 42GhU16jOtnvmwqiVZTAXVo8dVfcJF3x3kSBh3Zh6UrcjVeU4MZFvl2ODWachK2bQ0bl GmQyLUYaNehuwtIJcWmAg+Yja0I4wpV9JBYQKjdaDWmO4hKFi6aPVDNlI5wpgGmR1vsL flr9CaaxLY/M/ogxtQZ38G2RKN62nXD5DIxrfj+H7J1N6CvFEows9okrCFzg/vwoGVpb /Lv0594i1/Jg9hQ6kR7ECfgpb5XBWsAJOK7e2fkYyY6RGGlgEimWrYaAAZwWNi68gYtP +lYA== X-Gm-Message-State: APt69E28udD4p1fHPy5wZYS4y+vyl599/cO6OJT7W5/oBKc6AC3jjz51 b70j61QAqFI15j11Nxp0rjdmJg== X-Received: by 2002:a2e:2206:: with SMTP id i6-v6mr1335747lji.119.1527960156921; Sat, 02 Jun 2018 10:22:36 -0700 (PDT) Received: from oak.local ([92.243.181.209]) by smtp.gmail.com with ESMTPSA id t126-v6sm1333993lff.7.2018.06.02.10.22.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 02 Jun 2018 10:22:35 -0700 (PDT) From: "Matwey V. Kornilov" To: u-boot@lists.denx.de Date: Sat, 2 Jun 2018 20:22:26 +0300 Message-Id: <20180602172228.10664-2-matwey.kornilov@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180602172228.10664-1-matwey.kornilov@gmail.com> References: <20180602172228.10664-1-matwey.kornilov@gmail.com> Cc: trini@konsulko.com, "Matwey V. Kornilov" Subject: [U-Boot] [PATCH 2/4] configs: pcm051: Use DEFAULT_MMC_TI_ARGS instead of hardcoded duplicates 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Signed-off-by: Matwey V. Kornilov --- include/configs/pcm051.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/include/configs/pcm051.h b/include/configs/pcm051.h index c1a5c6fe32..3bdd30d84f 100644 --- a/include/configs/pcm051.h +++ b/include/configs/pcm051.h @@ -53,7 +53,11 @@ #include +#include +#include + #define CONFIG_EXTRA_ENV_SETTINGS \ + DEFAULT_MMC_TI_ARGS \ "loadaddr=0x80007fc0\0" \ "fdtaddr=0x80000000\0" \ "rdaddr=0x81000000\0" \ @@ -61,15 +65,8 @@ "fdtfile=pcm051.dtb\0" \ "console=ttyO0,115200n8\0" \ "optargs=\0" \ - "mmcdev=0\0" \ - "mmcroot=/dev/mmcblk0p2 ro\0" \ - "mmcrootfstype=ext4 rootwait\0" \ "ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M\0" \ "ramrootfstype=ext2\0" \ - "mmcargs=setenv bootargs console=${console} " \ - "${optargs} " \ - "root=${mmcroot} " \ - "rootfstype=${mmcrootfstype}\0" \ "bootenv=uEnv.txt\0" \ "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \ "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \ @@ -85,7 +82,7 @@ "loaduimagefat=fatload mmc ${mmcdev} ${loadaddr} ${bootfile}\0" \ "loaduimage=ext2load mmc ${mmcdev}:2 ${loadaddr} ${bootfile}\0" \ "mmcboot=echo Booting from mmc ...; " \ - "run mmcargs; " \ + "run args_mmc; " \ "bootm ${loadaddr}\0" \ "ramboot=echo Booting from ramdisk ...; " \ "run ramargs; " \