From patchwork Sat Feb 10 13:24:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 871707 X-Patchwork-Delegate: hs@denx.de 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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="nuu+CtTK"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zf5NZ1Tqrz9sQm for ; Sun, 11 Feb 2018 08:56:13 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 6F46CC21E4B; Sat, 10 Feb 2018 21:56:02 +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 A5301C21E35; Sat, 10 Feb 2018 21:55:38 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id CE6ADC21C57; Sat, 10 Feb 2018 13:25:50 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.denx.de (Postfix) with ESMTPS id 67884C21C4A for ; Sat, 10 Feb 2018 13:25:50 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id b21so2194238wme.4 for ; Sat, 10 Feb 2018 05:25:50 -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:in-reply-to:references; bh=pYk1+FlWRvvUPrcgR7mtO70XISojKbVbo2xr80LDIWo=; b=nuu+CtTKDk5ajZzkOZIU49Yg2cgsI+vp2+ACyE26wj08tnOqL3qSKzbRh33EIWVlVg ++X47r9HQNL+w3eCB+8xDS71uejyfRZgdddcEFQyG32q2SipXUmdLuUJyn6f23kzhQsV Bhp0w6QegQcgIh+zDk2W7D3lVx/trhR4aXTjRUXHU5tsAiNbO3srSOn8e3fny1pvym4i pgzE3fxfUnMd7KoxT/yEXtWe8BJv+XJ1iz7G96aAuOyGJID2r/MUpNNP1oJpTXQHLj46 N8ubRBBeSqYX49qITPJIzQqQvENRkvvE4rw4i5ejd3tl8iKphpERDwrHms8ZL/Djdai1 zaww== 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=pYk1+FlWRvvUPrcgR7mtO70XISojKbVbo2xr80LDIWo=; b=Vm0rFX05fixWk/zfhIkcurEDZT5wJERVpyiUf1j2OzR9pDs7MolgkwWcVekiA5bfGD Kg3oG8RTKNg7jOH0HQTfpxflTMYJE3k0NoEGbSZVQDVnqpICIf6SFl1yse+xPuL4/TQJ 5qQ+Z3jI6gmvDGeefzpOTIL7SgNJkNmUJouCdGrlzZTdQ8U3e0JIlwfC6vgblWYcjDc8 hdZ3R5f6SvPk5ZVrr3zhhoaxbCRX6O3JvWQZDkR57rTE9YEuderOF3twkeKodZwBou1V 25W2oqKyckXHLi/REeMYvfJ4Ta6REtPDtY9H1IP2yJHGGFDgWwkH44GvpimjdekAbqQW USuA== X-Gm-Message-State: APf1xPCVq6994eamCv9AVaHHKKgOingRUe/ZMDTLZU8BpbwiMSfubh1H Jc2XzPWiv9HRzVxKuRiWNwU4sw== X-Google-Smtp-Source: AH8x226JIBhByb11egyyafGAjBLxmeOIYp0N+xOQdJwijnKTGD2/OJV/NyQmfVMIihfFrw99WbOngA== X-Received: by 10.28.86.131 with SMTP id k125mr4537055wmb.83.1518269149734; Sat, 10 Feb 2018 05:25:49 -0800 (PST) Received: from localhost.localdomain ([85.119.94.113]) by smtp.gmail.com with ESMTPSA id a6sm11081197wri.10.2018.02.10.05.25.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Feb 2018 05:25:49 -0800 (PST) From: Petr Vorel To: u-boot@lists.denx.de Date: Sat, 10 Feb 2018 14:24:14 +0100 Message-Id: <20180210132415.19725-2-petr.vorel@gmail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180210132415.19725-1-petr.vorel@gmail.com> References: <20180210132415.19725-1-petr.vorel@gmail.com> X-Mailman-Approved-At: Sat, 10 Feb 2018 21:55:36 +0000 Cc: Joe Hershberger Subject: [U-Boot] [PATCH 2/3] Convert CONFIG_UBIFS_SILENCE_MSG to Kconfig 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: Petr Vorel Cc: Joe Hershberger Cc: Heiko Schocher --- README | 6 ------ configs/am335x_igep003x_defconfig | 1 + configs/igep0032_defconfig | 1 + env/Kconfig | 1 - fs/ubifs/Kconfig | 7 +++++++ include/configs/am335x_igep003x.h | 1 - include/configs/omap3_igep00x0.h | 1 - scripts/config_whitelist.txt | 1 - 8 files changed, 9 insertions(+), 10 deletions(-) diff --git a/README b/README index 81b7ee1ce8..25614bd6dc 100644 --- a/README +++ b/README @@ -2644,12 +2644,6 @@ FIT uImage format: Enable UBI fastmap debug default: 0 -- UBIFS support - CONFIG_UBIFS_SILENCE_MSG - - Make the verbose messages from UBIFS stop printing. This leaves - warnings and errors enabled. - - SPL framework CONFIG_SPL Enable building of SPL globally. diff --git a/configs/am335x_igep003x_defconfig b/configs/am335x_igep003x_defconfig index 04f2d33747..ac07744ffe 100644 --- a/configs/am335x_igep003x_defconfig +++ b/configs/am335x_igep003x_defconfig @@ -46,6 +46,7 @@ CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0" CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(SPL),-(UBI)" CONFIG_CMD_UBI=y # CONFIG_CMD_UBIFS is not set +# CONFIG_UBIFS_SILENCE_MSG is not set CONFIG_ISO_PARTITION=y CONFIG_EFI_PARTITION=y CONFIG_ENV_IS_IN_UBI=y diff --git a/configs/igep0032_defconfig b/configs/igep0032_defconfig index b0daee1a61..8398e064bf 100644 --- a/configs/igep0032_defconfig +++ b/configs/igep0032_defconfig @@ -28,6 +28,7 @@ CONFIG_CMD_CACHE=y CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_UBI=y # CONFIG_CMD_UBIFS is not set +# CONFIG_UBIFS_SILENCE_MSG is not set CONFIG_NET_RANDOM_ETHADDR=y CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y diff --git a/env/Kconfig b/env/Kconfig index a3c6298273..36d6e799fc 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -361,7 +361,6 @@ config ENV_IS_IN_UBI It is assumed that both volumes are in the same MTD partition. - CONFIG_UBI_SILENCE_MSG - - CONFIG_UBIFS_SILENCE_MSG You will probably want to define these to avoid a really noisy system when storing the env in UBI. diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig index e69de29bb2..1a8f084e36 100644 --- a/fs/ubifs/Kconfig +++ b/fs/ubifs/Kconfig @@ -0,0 +1,7 @@ +config UBIFS_SILENCE_MSG + bool "UBIFS silence verbose messages" + depends on CMD_UBIFS + default ENV_IS_IN_UBI + help + Make the verbose messages from UBIFS stop printing. This leaves + warnings and errors enabled. diff --git a/include/configs/am335x_igep003x.h b/include/configs/am335x_igep003x.h index d5b63e630e..6f53f42ac8 100644 --- a/include/configs/am335x_igep003x.h +++ b/include/configs/am335x_igep003x.h @@ -24,7 +24,6 @@ /* Make the verbose messages from UBI stop printing */ #define CONFIG_UBI_SILENCE_MSG -#define CONFIG_UBIFS_SILENCE_MSG #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h index 76d8e13d52..ab54a25d1a 100644 --- a/include/configs/omap3_igep00x0.h +++ b/include/configs/omap3_igep00x0.h @@ -137,7 +137,6 @@ #define CONFIG_ENV_UBI_VOLUME "config" #define CONFIG_ENV_UBI_VOLUME_REDUND "config_r" #define CONFIG_UBI_SILENCE_MSG 1 -#define CONFIG_UBIFS_SILENCE_MSG 1 #define CONFIG_ENV_SIZE (32*1024) #endif /* __IGEP00X0_H */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 1be3f23432..58278d1c40 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -4711,7 +4711,6 @@ CONFIG_T_SH7706LSR CONFIG_UART_BR_PRELIM CONFIG_UART_OR_PRELIM CONFIG_UBIBLOCK -CONFIG_UBIFS_SILENCE_MSG CONFIG_UBIFS_VOLUME CONFIG_UBI_PART CONFIG_UBI_SILENCE_MSG