From patchwork Fri Jun 2 12:24:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 101242 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp365945qge; Fri, 2 Jun 2017 05:26:33 -0700 (PDT) X-Received: by 10.80.146.51 with SMTP id i48mr5880130eda.48.1496406393161; Fri, 02 Jun 2017 05:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496406393; cv=none; d=google.com; s=arc-20160816; b=QXHuZkXfSToRXCxcw9TRtusgfvGXPiZwxZRmd7PS1Nq0aGnXw2ShpAzxbkWoefQkq4 oP3eBZJLW9hv/jaLFKtISOZ9B3F4aiJprUsoJ4h+SmKpsBIw4SD5WOGy6eh170bk5U9k ETMQaG25zRYun7JEHWU6wuTcQCmPjH9K7rfdLOks9iRDT/oO01jPSKyjpm01uPAWF5g3 EWz8sp+rj8imD3CdD+saYLvATM2JRKsYzCWxKJai8fxY0F6P5vRDd0R4rKWLMpmZ6Mkx jD+n9SGTEwhj3523Zh5/da185tFp0J9tzLvX2/hDYTXjismkh1bt7bRWeNJqVRERWZdi 8EFw== 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=YwCTzGjcJ4Ba6DHxt623KBYgYMMkcwN1/DIie3LYTwE=; b=q1VCxtGA1d3gbGH/m6fRmKicJZPTLbYVoyC89vcJGpZEgMmJG3qsedFFgbscD8ikoe YLHJ+qGyeWTXZHR9z2sgQ1WD6jQBwHVTWfIqi6C0VqRQJJerxcoGBUazkCRQEFcXso20 Il0Y8pxeVZzJ6Ky8xlwSaaUXTNrHoLItJBUBfGPKCL9pf9mpuoatSWV653MZL2A+8Ybt Mw0tnJDBgBOv2ChoMMPHOM3EVbl0JawM8ePbZUYHgRkQAeOH+m/30l0hzOLjsqyHhzDv Trlw2TIijRU8V2uKH3rt+kDoVt3lXRgin4hNJ2AZIM4njIkpD+xXwepoOdXwOkdzmebd OeCg== 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 p51si22611819eda.61.2017.06.02.05.26.32; Fri, 02 Jun 2017 05:26:33 -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 BDB77C21CB8; Fri, 2 Jun 2017 12:25:38 +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 74430C21CBE; Fri, 2 Jun 2017 12:25:20 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 13054C21CBB; Fri, 2 Jun 2017 12:24:30 +0000 (UTC) Received: from lelnx193.ext.ti.com (lelnx193.ext.ti.com [198.47.27.77]) by lists.denx.de (Postfix) with ESMTPS id EA5EBC21C9A for ; Fri, 2 Jun 2017 12:24:27 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v52COPhU028522; Fri, 2 Jun 2017 07:24:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1496406265; bh=5nDUr8NRbDWMYD8LwmMxSF5rmpKOV5OUfmZ5I+Nc99U=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=BtyM+OjL0MzEJX2JqyWxArfbGGMNJdyBMXiTudI2B6qvxuoSSRfKIAl676mRfC2L+ ozxvIlaBhrw12OZPX52DDgNV5BqNS4mMhDDFRZYQb8zspWSce/phK6FWzcGluAZl8G 4Q4i63BOQzJOTs9LU+gCqeNV1tMI9syErgiyA8JY= Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v52COPWw018837; Fri, 2 Jun 2017 07:24:25 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Fri, 2 Jun 2017 07:24:24 -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 v52CO6IY010502; Fri, 2 Jun 2017 07:24:22 -0500 From: Sekhar Nori To: Tom Rini Date: Fri, 2 Jun 2017 17:54:04 +0530 Message-ID: <20170602122405.18983-7-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 6/7] board: ti: enable support for writing to fat partition 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" Enable support for writing to FAT partitions on TI's boards. Signed-off-by: Sekhar Nori Reviewed-by: Tom Rini --- board/ti/common/Kconfig | 1 + include/configs/am43xx_evm.h | 1 - include/configs/ti_armv7_common.h | 8 -------- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig index 1187cf54337f..0517b1dfdf12 100644 --- a/board/ti/common/Kconfig +++ b/board/ti/common/Kconfig @@ -26,6 +26,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 25f63e831142..1d8e39c20352 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 0bd3c9f94cfa..5321ed6b0919 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