]> git.sur5r.net Git - u-boot/commitdiff
board: ti: enable support for writing to fat partition
authorSekhar Nori <nsekhar@ti.com>
Fri, 2 Jun 2017 12:24:04 +0000 (17:54 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 3 Jun 2017 21:55:19 +0000 (17:55 -0400)
Enable support for writing to FAT partitions on
TI's boards.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
board/ti/common/Kconfig
include/configs/am43xx_evm.h
include/configs/ti_armv7_common.h

index e35afa0e512d8a160cff05eb014d0b3da9a590f6..c21eb8c2d2e39c9d17c8ec3616a1faa8c0fbf413 100644 (file)
@@ -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
index 25f63e8311425ebdaf50e76bd0df4a39c4744c1c..1d8e39c2035256d245c3234f500280518ef5c808 100644 (file)
@@ -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"
 
index 0bd3c9f94cfacf257e48fd8dd06366ec114b3ab1..5321ed6b091978fae9ae6c196138d554a301007c 100644 (file)
 
 #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