summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2017-06-02 17:54:04 +0530
committerTom Rini <trini@konsulko.com>2017-06-03 17:55:19 -0400
commit4a72d8dcc9f9459cb3939c04c2717d121e013b54 (patch)
tree3b40aa169c8e694f8636e880c038b9b449f6e550
parent0dbb9a93c33c91dc902303aa2b4f351068deec8a (diff)
downloadu-boot-4a72d8dcc9f9459cb3939c04c2717d121e013b54.tar.gz
board: ti: enable support for writing to fat partition
Enable support for writing to FAT partitions on TI's boards. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r--board/ti/common/Kconfig1
-rw-r--r--include/configs/am43xx_evm.h1
-rw-r--r--include/configs/ti_armv7_common.h8
3 files changed, 1 insertions, 9 deletions
diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig
index e35afa0e51..c21eb8c2d2 100644
--- a/board/ti/common/Kconfig
+++ b/board/ti/common/Kconfig
@@ -27,6 +27,7 @@ config TI_COMMON_CMD_OPTIONS
imply CMD_EXT4_WRITE
imply CMD_FASTBOOT if FASTBOOT
imply CMD_FAT
+ imply FAT_WRITE if CMD_FAT
imply CMD_FS_GENERIC
imply CMD_GPIO
imply CMD_GPT
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 25f63e8311..1d8e39c203 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -75,7 +75,6 @@
#define FAT_ENV_INTERFACE "mmc"
#define FAT_ENV_DEVICE_AND_PART "0:1"
#define FAT_ENV_FILE "uboot.env"
-#define CONFIG_FAT_WRITE
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index 0bd3c9f94c..5321ed6b09 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -145,14 +145,6 @@
#define CONFIG_SUPPORT_RAW_INITRD
/*
- * Common filesystems support. When we have removable storage we
- * enabled a number of useful commands and support.
- */
-#if defined(CONFIG_MMC) || defined(CONFIG_USB_STORAGE)
-#define CONFIG_FAT_WRITE
-#endif
-
-/*
* Our platforms make use of SPL to initalize the hardware (primarily
* memory) enough for full U-Boot to be loaded. We make use of the general
* SPL framework found under common/spl/. Given our generally common memory