Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1723C433F5 for ; Wed, 20 Oct 2021 01:10:27 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 464FB610FC for ; Wed, 20 Oct 2021 01:10:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 464FB610FC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B921280EFB; Wed, 20 Oct 2021 03:10:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 6EB5F805F9; Wed, 20 Oct 2021 03:10:22 +0200 (CEST) Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (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 3F64581D1F for ; Wed, 20 Oct 2021 03:10:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f177.google.com with SMTP id c28so1649922qtv.11 for ; Tue, 19 Oct 2021 18:10:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=43Jt6YQ0ddUOXwIn6qJ+isyOrgXX++bK+sVLZBQylR0=; b=fc1CWMzSmHaBht8id2OQDvBiDHtFwhOM0puiD6Nn0whA5999IgoRXZ29MlJss6TqPn jpRYqR6wkbVEOok29RVRAUO00LfKLvT/zEPUFP2eOUbRC7Bp262xgMGD8d2PqZbwI/oO 218hw/91s4SVX3jv00NPa2opbKvlRbJta1x6GQNojzEq8ZD/Rvb/ymwhgxUZgR0okU5X 1G0KUXFOxiTYzOHZYLm2+8kjfG3u9MttBjxnP+CXseUIE3NQCz9b46h1XgESCuqo4Wkc LWqH5tj+k+Dj81TiLKLoJQ6o4JpI8OUlNPugxK2N6FxwrA1QejqW9BZvgxzEslWQcb4z w09Q== X-Gm-Message-State: AOAM5302fxbJgjcffOoWHHLNaPdnUx7tqEColCf/oKg1yWGLVXJzUYdb f2C9AmCmo3DMClNO6htGHI6PANPFDA== X-Google-Smtp-Source: ABdhPJx3Ois9o1SDH2YUpQ6ltNDF8mGWtH0gMcZmbesVWJ+KMJdjyPswblLXCFCy+2MIj7T4TAgtqg== X-Received: by 2002:a05:622a:1105:: with SMTP id e5mr3827927qty.348.1634692217727; Tue, 19 Oct 2021 18:10:17 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-815c-b889-de4c-aa50.res6.spectrum.com. [2603:6081:7b01:cbda:815c:b889:de4c:aa50]) by smtp.gmail.com with ESMTPSA id m16sm398638qkn.15.2021.10.19.18.10.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 18:10:17 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH] fs: yaffs2: Finish Kconfig migration Date: Tue, 19 Oct 2021 21:10:14 -0400 Message-Id: <20211020011014.3304723-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.103.2 at phobos.denx.de X-Virus-Status: Clean For the symbols which are both hard-coded as enabled and used, move to Kconfig. The rest of the CONFIG_YAFFS namespace is unselected anywhere, so we leave it as is. Signed-off-by: Tom Rini --- fs/yaffs2/Kconfig | 12 ++++++++++++ fs/yaffs2/Makefile | 4 ---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/fs/yaffs2/Kconfig b/fs/yaffs2/Kconfig index 45ffdf6c26ff..c81f4555d60b 100644 --- a/fs/yaffs2/Kconfig +++ b/fs/yaffs2/Kconfig @@ -1,5 +1,17 @@ +config YAFFS_DIRECT + bool + +config YAFFS_PROVIDE_DEFS + bool + +config YAFFSFS_PROVIDE_VALUES + bool + config YAFFS2 bool "YAFFS2 filesystem support" + select YAFFS_DIRECT + select YAFFS_PROVIDE_DEFS + select YAFFSFS_PROVIDE_VALUES help This provides access to YAFFS2 filesystems. Yet Another Flash Filesystem 2 is a filesystem designed specifically for NAND flash. diff --git a/fs/yaffs2/Makefile b/fs/yaffs2/Makefile index 3c1bb4492b6a..02cae2655500 100644 --- a/fs/yaffs2/Makefile +++ b/fs/yaffs2/Makefile @@ -16,7 +16,3 @@ obj-y := \ yaffs_packedtags1.o yaffs_packedtags2.o yaffs_qsort.o \ yaffs_summary.o yaffs_tagscompat.o yaffs_verify.o yaffs_yaffs1.o \ yaffs_yaffs2.o yaffs_mtdif.o yaffs_mtdif2.o - -ccflags-y = -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM \ - -DCONFIG_YAFFS_YAFFS2 -DNO_Y_INLINE \ - -DCONFIG_YAFFS_PROVIDE_DEFS -DCONFIG_YAFFSFS_PROVIDE_VALUES -- 2.25.1