U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sekhar Nori <nsekhar@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH RESEND 1/7] fs: fat: add kbuild configuration support
Date: Fri, 2 Jun 2017 17:53:59 +0530	[thread overview]
Message-ID: <20170602122405.18983-2-nsekhar@ti.com> (raw)
In-Reply-To: <20170602122405.18983-1-nsekhar@ti.com>

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 <nsekhar@ti.com>
---
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.
-- 
2.9.0

  reply	other threads:[~2017-06-02 12:23 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-02 12:23 [U-Boot] [PATCH 0/7] fs: fat: convert to kconfig + switch some TI platforms Sekhar Nori
2017-06-02 12:23 ` Sekhar Nori [this message]
2017-06-02 14:04   ` [U-Boot] [PATCH RESEND 1/7] fs: fat: add kbuild configuration support Tom Rini
2017-06-04 17:10   ` Tom Rini
2017-06-02 12:24 ` [U-Boot] [PATCH 2/7] configs: k2*_evm: let each board decide env location Sekhar Nori
2017-06-02 14:03   ` Tom Rini
2017-06-04 17:10   ` Tom Rini
2017-06-02 12:24 ` [U-Boot] [PATCH 3/7] configs: k2g_evm: make sure config fallbacks take effect Sekhar Nori
2017-06-02 14:03   ` Tom Rini
2017-06-04 17:10   ` Tom Rini
2017-06-02 12:24 ` [U-Boot] [PATCH 4/7] config_fallbacks: add additional fallbacks for fat filesystem Sekhar Nori
2017-06-02 15:02   ` Tom Rini
2017-06-04 17:10   ` Tom Rini
2017-06-02 12:24 ` [U-Boot] [PATCH 5/7] configs: am335x: siemens: migrate to enabling FAT FS using kconfig Sekhar Nori
2017-06-02 12:24 ` [U-Boot] [PATCH 6/7] board: ti: enable support for writing to fat partition Sekhar Nori
2017-06-02 14:04   ` Tom Rini
2017-06-04 17:10   ` Tom Rini
2017-06-02 12:24 ` [U-Boot] [PATCH 7/7] configs: omapl138_lcdk: enable fat filesystem support Sekhar Nori
2017-06-03 22:02   ` Tom Rini
2017-06-03 22:00 ` [U-Boot] [PATCH] Kconfig: Migrate FS_FAT / FAT_WRITE Tom Rini
2017-06-04 17:11   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170602122405.18983-2-nsekhar@ti.com \
    --to=nsekhar@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox