From patchwork Wed Nov 25 10:05:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matwey V. Kornilov" X-Patchwork-Id: 332371 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp303277ilb; Wed, 25 Nov 2020 02:05:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6+BPoun2xgkdELHm8/Fvf1fuTjNNt5LUbaYlybW+MsggSZEanLuJnQYb/B63OEP1Z4brX X-Received: by 2002:a50:f0dc:: with SMTP id a28mr1337492edm.291.1606298754262; Wed, 25 Nov 2020 02:05:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606298754; cv=none; d=google.com; s=arc-20160816; b=noB+3TvwiC5qZSNoGQGwqJERYV29FMEmFJYTIBSBZB0/3ckDI3fkwhVnhn7G7HwjYb JpZZ+/zwhwBtEJQbFex39gGvcpbtKhMzsgMi4jy2MJv766zB4e2vThV6+C5Fqk3kn4hT ZTml+yHIGgV/vQ/md7ZyDPrNY+N1FOm4E8gHoc/lF4AzAp8JFk5yjaFRY8KN8Qob3V+f pxbRQniacqwZ6OiIscvjCEst6GSUHEwjWUXL9K1F4FLGBzpsswI0e+pJ7+rhbxyDTlgi TWqz+72sptImYfCDRN0yTDBlwCKoMd6YAu4yOJsXDzn+QFKkRICHWsD69sMAPTlNGYZ2 rAyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=0gv7fLtgTlwVTnIOX9prVYfgh5TGIkEV1NxCydsO6rc=; b=fh0GsVLLiatj1JoS4tB3k+fQttumDmevKCi1odz8hBLVqIplZBtWc7gC+IpJ++mEdb Azf3KyEPC1qTVYVdOW7X94EtJUpWK+W8TXbO+unF4MQDv2YR5a/4rlt1Vdg4Z8+wT4S6 lzGzUe2GXmYsAgO987snIJSfV++Fjlshrv4veBuQO1bN2qvRVoNvMQvLvFgc0QCZIVHA 1v0nulrEc2XfjnX8Fht/ZpJrOZY8IIFy4gO+WGGKwoFxjK+iK8cLjO92aNwfBxrY+Bx2 p47Tj8vpq7fwPa8sQXAasvpnqB15l5TYXFMR5pb2YTMK4JeV0vlFb0KajvCJjCarHvd5 uwEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bQE3cAwV; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id s21si24901ejr.461.2020.11.25.02.05.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2020 02:05:54 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bQE3cAwV; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D819082647; Wed, 25 Nov 2020 11:05:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bQE3cAwV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8496182654; Wed, 25 Nov 2020 11:05:47 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1582E82617 for ; Wed, 25 Nov 2020 11:05:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=matwey.kornilov@gmail.com Received: by mail-lf1-x141.google.com with SMTP id d17so2280905lfq.10 for ; Wed, 25 Nov 2020 02:05:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0gv7fLtgTlwVTnIOX9prVYfgh5TGIkEV1NxCydsO6rc=; b=bQE3cAwV6m8e/3hwYiwtaxnnU9jAclGB3pqZSM7QpV0DDZyVSpDhJXIayLbiZDR4yt taEhCT3SeBUOoU6idrgoIJznUYULAl+Z0An2nUuNQ9z18X6rLZjXwYa16O4PCbxGFCBN ycCUV/8dlM8rurmceOnZ1Q7B8WMwohzwGOl3LZUOoXaDSquPWjtCGY/gzqxVCaV4kFwy cDQB75VmecqW/Ra/3gBdG77HZaS2krRzx/kxlFYAh/VNZteGaQGfKXVmWhZPeRlsS+kt H/U3wY/6aU4sDDdYr90XnacihAbTPyi3OiapNZlsI9P3BlUutVfbBE9YAYDa8Gk733yK pkQA== 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:mime-version :content-transfer-encoding; bh=0gv7fLtgTlwVTnIOX9prVYfgh5TGIkEV1NxCydsO6rc=; b=hnIV09g57kmvH65xGaJ3vxnsOzaEUJi2p9b3N/iM8MorI1MQoSgpHjVsGNy0uN3GOn yHAPyUrRnS18WC2M2rgGyxLjieO9H2/glaorlL2vxGppr2Htw1Cxyy755xnaBjpnD+Qf X7zs5T4agtiPx9iKXrw4JFKRycNTib2q7AzHvbhDK6L95ue/QMXbxY3QpCaGjsjoTavI 0k6SnUp3LFh9EkuH6Zl8YZ7cEHXTqb+exuEfy4qbF2MzFCJdR9jKNCeDbpJyUJeepYeC WnOUprXoCEDd1iuUe4GfZuchNJoWAeOJ7lIvxjtSI1IAbHV2L8UsySrfMrqH1MXls363 KtDA== X-Gm-Message-State: AOAM532jo+izd76lgwkEiJdPEDQC/U8yvA0QDzt8QPs0Sd3Hr4dYfYv+ EcQdazGgC2TPil935a+Sw+k= X-Received: by 2002:a19:be58:: with SMTP id o85mr1121600lff.346.1606298735875; Wed, 25 Nov 2020 02:05:35 -0800 (PST) Received: from oak.local ([2001:470:28:561:ca60:ff:fe8a:2e97]) by smtp.gmail.com with ESMTPSA id m5sm201448lfc.4.2020.11.25.02.05.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2020 02:05:34 -0800 (PST) From: "Matwey V. Kornilov" To: Stefan Roese , Konstantin Porotchkin , u-boot@lists.denx.de (open list) Cc: "Matwey V. Kornilov" , u-boot@lists.denx.de (open list) Subject: [PATCH v2] Add fdtfile for Marvell Armada 37xx default environment Date: Wed, 25 Nov 2020 13:05:28 +0300 Message-Id: <20201125100529.21553-1-matwey.kornilov@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean mvebu_armada-37xx.h relies on config_distro_bootcmd.h but lefts ${fdtfile} environment variable empty. Here we preset the variable with default values. Signed-off-by: Matwey V. Kornilov --- configs/mvebu_db-88f3720_defconfig | 1 + configs/mvebu_espressobin-88f3720_defconfig | 1 + include/configs/mvebu_armada-37xx.h | 1 + 3 files changed, 3 insertions(+) -- 2.26.2 Reviewed-by: Stefan Roese diff --git a/configs/mvebu_db-88f3720_defconfig b/configs/mvebu_db-88f3720_defconfig index a6bbe1a7af..1a3a267890 100644 --- a/configs/mvebu_db-88f3720_defconfig +++ b/configs/mvebu_db-88f3720_defconfig @@ -12,6 +12,7 @@ CONFIG_DM_GPIO=y CONFIG_DEBUG_UART_BASE=0xd0012000 CONFIG_DEBUG_UART_CLOCK=25804800 CONFIG_DEFAULT_DEVICE_TREE="armada-3720-db" +CONFIG_DEFAULT_FDT_FILE="marvell/armada-3720-db.dtb" CONFIG_DEBUG_UART=y CONFIG_AHCI=y CONFIG_DISTRO_DEFAULTS=y diff --git a/configs/mvebu_espressobin-88f3720_defconfig b/configs/mvebu_espressobin-88f3720_defconfig index 8a859cba2e..56ec482794 100644 --- a/configs/mvebu_espressobin-88f3720_defconfig +++ b/configs/mvebu_espressobin-88f3720_defconfig @@ -12,6 +12,7 @@ CONFIG_DM_GPIO=y CONFIG_DEBUG_UART_BASE=0xd0012000 CONFIG_DEBUG_UART_CLOCK=25804800 CONFIG_DEFAULT_DEVICE_TREE="armada-3720-espressobin" +CONFIG_DEFAULT_FDT_FILE="marvell/armada-3720-espressobin.dtb" CONFIG_DEBUG_UART=y CONFIG_AHCI=y CONFIG_DISTRO_DEFAULTS=y diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h index 0d585606a7..377ac60def 100644 --- a/include/configs/mvebu_armada-37xx.h +++ b/include/configs/mvebu_armada-37xx.h @@ -96,6 +96,7 @@ "kernel_addr=0x7000000\0" \ "kernel_addr_r=0x7000000\0" \ "ramdisk_addr_r=0xa000000\0" \ + "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \ BOOTENV #endif /* _CONFIG_MVEBU_ARMADA_37XX_H */