From patchwork Fri Jun 2 12:23:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 101243 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp366395qge; Fri, 2 Jun 2017 05:27:39 -0700 (PDT) X-Received: by 10.80.142.143 with SMTP id w15mr2311470edw.34.1496406459036; Fri, 02 Jun 2017 05:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496406459; cv=none; d=google.com; s=arc-20160816; b=UBMhWnsfSAuKqpKkHqYLAQ9zyA55t/J2UFBMCfJrlkK4ozzzUdOH27UM8s2H+BESpD vB7hbvE4EBgURQnDyE/GMJMFdEnS/0g8W7oteAkT1gqbDEi5cf9w1NOnUvTwYGSVgsgV xiBM+zOExOwMzveoBktNB+KRcIR5IItmfdXcotFO3TjtZoNShX10SbtpkUwdyp1LjSJK KyqMAPemUPekRmncwaK4RuYMgkZcR8YYcdJDRvPTGXAxjLmHv0PNCrN+GoTLmwxHdojY 0S12FmJMMBcpAiW1UKP53C4QsPxa+QNGM6U3WQeqWjLTdXRUU/bIts02pufeVKe63GKD gkfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=P1EdA/tLOVQV+VNWOfP5fV5GTz8qRQHYymvp7UPDjRM=; b=ww9UmkV++xMVAGpi2CCkIZmfP5Bi3o7dT69LzgzaWs85YAXdPmlA4ECLjzyH5vlouk kIBWbA+eYNDF41QGxFuOODTA9xiDSRHKECN8bcNtuUwUzADV2fk9O4DC+B2MyHHaYnYV iAw3JXtCILCokPmJJDt9N4SitbUBCX+EXdCCsGsVIvSZJLvurYrkoNeqfgTwpdG0ovHr jiUeC3yhR/UsCfpoRBIsWzA7ATNWOVZMOsgwjYl6f/1rXaV48ZPXNQOZrcUnW2GKi9n0 GoFcPk5naWQuV+Aqx0Bd1ZAaXrhn/uSczVAJgQpa/zAszFXAjBSM7gxxSAIBVBUc15Fw u2ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id i15si4443377edk.192.2017.06.02.05.27.38; Fri, 02 Jun 2017 05:27:39 -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=@ti.com; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: by lists.denx.de (Postfix, from userid 105) id 86F4EC21CEB; Fri, 2 Jun 2017 12:26:15 +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=RCVD_IN_DNSWL_NONE, 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 B4E4AC21CA9; Fri, 2 Jun 2017 12:26:13 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B2B1EC21CC2; Fri, 2 Jun 2017 12:25:04 +0000 (UTC) Received: from fllnx209.ext.ti.com (fllnx209.ext.ti.com [198.47.19.16]) by lists.denx.de (Postfix) with ESMTPS id 82D4EC21CBE for ; Fri, 2 Jun 2017 12:25:00 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v52COHfS027145; Fri, 2 Jun 2017 07:24:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1496406257; bh=NK86InYFEYAwRx/qdZK4bFmT02f1b5giLJmB/DEljEk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=RFxEjRI4fe7+qpPcNTc+1JdZsD/1dR/HtTm6Z4j0wp3rvk5IcMeJPtXkT/fzvCnc3 Kq0bRTQ4rTq6+lNi3lMeRkhQLXuDx8veww4a61LVgMFPLszoFe7ocrZTYfBBxQlN5X oqmsFNRojpJmJt6GIMgB5p9G4QBv3FFo3/DtC+m4= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v52COCaW022599; Fri, 2 Jun 2017 07:24:12 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Fri, 2 Jun 2017 07:24:11 -0500 Received: from psplinux063.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v52CO6IT010502; Fri, 2 Jun 2017 07:24:09 -0500 From: Sekhar Nori To: Tom Rini Date: Fri, 2 Jun 2017 17:53:59 +0530 Message-ID: <20170602122405.18983-2-nsekhar@ti.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170602122405.18983-1-nsekhar@ti.com> References: <20170602122405.18983-1-nsekhar@ti.com> MIME-Version: 1.0 Cc: Vitaly Andrianov , u-boot@lists.denx.de, Roger Meier , Peter Howard Subject: [U-Boot] [PATCH RESEND 1/7] fs: fat: add kbuild configuration support 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" Add Kconfig symbols for various configurations supported by FAT filesystem support code. CONFIG_SUPPORT_VFAT has been left out since its force enabled in include/fat.h and probably should get removed at some point. Signed-off-by: Sekhar Nori Reviewed-by: Tom Rini --- Resend of https://patchwork.ozlabs.org/patch/769770/ with no changes. Now sending again along with a bigger series. fs/fat/Kconfig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/fs/fat/Kconfig b/fs/fat/Kconfig index e69de29bb2d1..e7978aae67d2 100644 --- a/fs/fat/Kconfig +++ b/fs/fat/Kconfig @@ -0,0 +1,24 @@ +config FS_FAT + bool "Enable FAT filesystem support" + help + This provides support for reading images from File Allocation Table + (FAT) filesystem. FAT filesystem is a legacy, lightweight filesystem. + It is useful mainly for its wide compatibility with various operating + systems. You can also enable CMD_FAT to get access to fat commands. + +config FAT_WRITE + bool "Enable FAT filesystem write support" + depends on FS_FAT + help + This provides support for creating and writing new files to an + existing FAT filesystem partition. + +config FS_FAT_MAX_CLUSTSIZE + int "Set maximum possible clusersize" + default 65536 + depends on FS_FAT + help + Set the maximum possible clustersize for the FAT filesytem. This + is the smallest amount of disk space that can be used to hold a + file. Unless you have an extremely tight memory memory constraints, + leave the default.