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. From patchwork Fri Jun 2 12:24:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 101241 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp365936qge; Fri, 2 Jun 2017 05:26:31 -0700 (PDT) X-Received: by 10.80.152.112 with SMTP id h45mr5940061edb.103.1496406391690; Fri, 02 Jun 2017 05:26:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496406391; cv=none; d=google.com; s=arc-20160816; b=rcCTd5q3KXLNoyMWax+eU8E9eDMhbAcHjn8glLyI3XLX5VWgo40SHKEz3cEAeuMLyO q0sgq8Uev+ENnMg7frVSvbeK9CDy7yyTH5ADd+DH8/pBqe0t5I30w5y+6nWburERgOtk F4j+LogOvmrFz5MmfTjyMOAx514PjJS61kM2sMTKOqHZdDC+riugo1kJ0cCYyvQBhcs7 8CCTetFrhAJcVi0xWM+4CYjmd5vT7/N82DnnzzSy4DCkVB0/bSgzKd3kb1KkK/wuZS4d MH5TgcgSO2cIb7Ath++QNOh4rtPM8zepzMrcwpil541R0L2+2YvTT08BL65Hf6k5WEb1 JewQ== 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=hQrmdiJctVEmoslMqLUgXlSBnePzCGyTna676mTKV/Y=; b=yv+4dVc48LZNjF48oyjK09CRi8P46BREqutlBBqSZEEIGqvEOaEgTjD/QTy9RkGQbr C5Y4+LFPYHEbQ7gjVc7+p3fihpmcgsmmom4eA244Fec12/UA9gsikNUqBF25V5ExjbmE 185dDUqzCHyGWPkwSLvls1TrLz11pL/MYZRno2dEZFaT9yDMMe3VvGy9kmHqkr6jKxw9 J6x6IFph4+SRlbK0N1237dc/X4xi7w/G/w3/sORfm2mznGncKFbU/CzgQt3CVhVVORn/ MlUIF4mLzTBe1eiqAOMNyp7WqpnzZlJOzqefIyCB7tz+CewPW4ctUsG7GAk4Wt7CnTf3 j86w== 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 x34si22606700ede.162.2017.06.02.05.26.31; Fri, 02 Jun 2017 05:26:31 -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 3FEE4C21CCB; Fri, 2 Jun 2017 12:24:51 +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 342B1C21CBE; Fri, 2 Jun 2017 12:24:43 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 94A25C21C86; Fri, 2 Jun 2017 12:24:20 +0000 (UTC) Received: from lelnx194.ext.ti.com (lelnx194.ext.ti.com [198.47.27.80]) by lists.denx.de (Postfix) with ESMTPS id 4B603C21CAE for ; Fri, 2 Jun 2017 12:24:17 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v52COFEK017990; Fri, 2 Jun 2017 07:24:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1496406255; bh=pEF14RJzi1QeegCF1YfY5CtNTdTtMBKTNOkeOkYue98=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=tXLiugf47/hIIrWucZWqpW6wNGLf5aQUZbpMTUjq8n7v0WJfCeuHrRVyQYxYb/Uo7 AzK71PoqLWT8G01lK136H5H85ek4/GNe9LdYUwim5whxnbUy75JoNDexwbpBO2AOOZ NdVgY8eL2poTp+ewuyCKKpO5VtpqdcgzVtsScPGs= Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v52COE3Q018711; Fri, 2 Jun 2017 07:24:14 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Fri, 2 Jun 2017 07:24:14 -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 v52CO6IU010502; Fri, 2 Jun 2017 07:24:12 -0500 From: Sekhar Nori To: Tom Rini Date: Fri, 2 Jun 2017 17:54:00 +0530 Message-ID: <20170602122405.18983-3-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 2/7] configs: k2*_evm: let each board decide env location 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" Not all TI Keystone2 EVMs want environment in NAND flash. K2G EVM which has an MMC/SD slot, keep environment in a FAT partition on SD card. Since ti_armv7_keystone2.h defines environment is in NAND, boards which do not follow that have to #undef'ine that configuration. This leads to ugly ordering issues around where exactly the include of ti_armv7_keystone2.h can come in within the k2*_evm.h files. Move environment location to config file of each board. This should make it easy to change it for any one board without affecting all other boards. Signed-off-by: Sekhar Nori Reviewed-by: Tom Rini --- include/configs/k2e_evm.h | 4 ++++ include/configs/k2g_evm.h | 2 +- include/configs/k2hk_evm.h | 4 ++++ include/configs/k2l_evm.h | 4 ++++ include/configs/ti_armv7_keystone2.h | 3 --- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/include/configs/k2e_evm.h b/include/configs/k2e_evm.h index 3a7993e8290c..b186bfc89151 100644 --- a/include/configs/k2e_evm.h +++ b/include/configs/k2e_evm.h @@ -27,6 +27,10 @@ "name_uboot=u-boot-spi-k2e-evm.gph\0" \ "name_fs=arago-console-image-k2e-evm.cpio.gz\0" +#define CONFIG_ENV_SIZE (256 << 10) /* 256 KiB */ +#define CONFIG_ENV_IS_IN_NAND +#define CONFIG_ENV_OFFSET 0x100000 + #include /* SPL SPI Loader Configuration */ diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h index bee1be794baf..9a07eacb8e7a 100644 --- a/include/configs/k2g_evm.h +++ b/include/configs/k2g_evm.h @@ -63,8 +63,8 @@ #define CONFIG_PHY_MICREL #define PHY_ANEG_TIMEOUT 10000 /* PHY needs longer aneg time */ -#undef CONFIG_ENV_IS_IN_NAND #define CONFIG_ENV_IS_IN_FAT +#define CONFIG_ENV_SIZE (256 << 10) /* 256 KiB */ #define FAT_ENV_INTERFACE "mmc" #define FAT_ENV_DEVICE_AND_PART "0:1" #define FAT_ENV_FILE "uboot.env" diff --git a/include/configs/k2hk_evm.h b/include/configs/k2hk_evm.h index 202167bdef79..9598bc6976e9 100644 --- a/include/configs/k2hk_evm.h +++ b/include/configs/k2hk_evm.h @@ -27,6 +27,10 @@ "name_uboot=u-boot-spi-k2hk-evm.gph\0" \ "name_fs=arago-console-image-k2hk-evm.cpio.gz\0" +#define CONFIG_ENV_SIZE (256 << 10) /* 256 KiB */ +#define CONFIG_ENV_IS_IN_NAND +#define CONFIG_ENV_OFFSET 0x100000 + #include /* SPL SPI Loader Configuration */ diff --git a/include/configs/k2l_evm.h b/include/configs/k2l_evm.h index a7ccdd117cd2..d054276e61eb 100644 --- a/include/configs/k2l_evm.h +++ b/include/configs/k2l_evm.h @@ -27,6 +27,10 @@ "name_uboot=u-boot-spi-k2l-evm.gph\0" \ "name_fs=arago-console-image-k2l-evm.cpio.gz\0" +#define CONFIG_ENV_SIZE (256 << 10) /* 256 KiB */ +#define CONFIG_ENV_IS_IN_NAND +#define CONFIG_ENV_OFFSET 0x100000 + #include /* SPL SPI Loader Configuration */ diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h index 3161c50abb14..512c28a5f075 100644 --- a/include/configs/ti_armv7_keystone2.h +++ b/include/configs/ti_armv7_keystone2.h @@ -185,9 +185,6 @@ #define CONFIG_SYS_MAX_NAND_DEVICE 1 #define CONFIG_SYS_NAND_MAX_CHIPS 1 #define CONFIG_SYS_NAND_NO_SUBPAGE_WRITE -#define CONFIG_ENV_SIZE (256 << 10) /* 256 KiB */ -#define CONFIG_ENV_IS_IN_NAND -#define CONFIG_ENV_OFFSET 0x100000 #define CONFIG_MTD_PARTITIONS #define CONFIG_RBTREE #define CONFIG_LZO From patchwork Fri Jun 2 12:24:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 101239 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp365747qge; Fri, 2 Jun 2017 05:26:06 -0700 (PDT) X-Received: by 10.80.153.43 with SMTP id k40mr5737804edb.63.1496406366901; Fri, 02 Jun 2017 05:26:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496406366; cv=none; d=google.com; s=arc-20160816; b=bB+gBpc3Fm09h8d3jt6FI3uFLf6DQXWi9ULHhNgTz3srHtXjps0PV9ZWa7dfvidzoR ZieE6CBl/COSa6tnLwqbdXzeF/CnKacYHYTQgGbxNOpOmN7nKZYHCnKu6UjScWs12kht 0Kbqux9VE/GM87h5NxVXmXAtIrVytNALn/NCWpMd4UbC5ljGrnbuz8lNlltTO/UJ2iV3 YX8sOLHOudJovKuAst6afaewEeLofinIWynMv04Tlzgy/CXNPNEAJuC21FPi0q3Oc9vJ 6yJtD3X2RaaCzkZONtNQgELZ2NiR2jCDXRpA89hNh3UskQQaIhCYgDJUthuCUeazgBsJ 6Smw== 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=vM3j1msIl12s5XG+t6UUf1zl7322gO1V/enCHSpxiTA=; b=YB01DDHqKNTBhv7Tz5Crf1EC/Jo0jntPggyzCPpfwN/XdsAbTIAvHqTRXz9Hx0KuaO NvhpO44SPhVLqyTJZHrrd+v6UUA6N67uo/muDzNAjdAKY+XJA6UrZqSyJjsOu2Wyxrz+ ZYACul63xlVnTeAvfkLO2LmXFpiV3fdqp+emHoNQp+fpk+1CAYSIssr18WtsrGabHDa+ wTRoZ25VBSonAy1gD7M7tGNzZ7xcCUttF7l5GHPkCdPk99Tx+cpI5Y3qA7TWId2WUJSI dZRjW+7pHLgJoyT3s7cr1TcsCwt+czXI3uaZTLdBpEsPRFyFG+K1jq8C1V3AZQcDhPAU dlmQ== 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 k29si2429923edb.186.2017.06.02.05.26.06; Fri, 02 Jun 2017 05:26:06 -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 76A7BC21CB8; Fri, 2 Jun 2017 12:25:07 +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 3FF65C21CB1; Fri, 2 Jun 2017 12:24:48 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E3083C21C72; Fri, 2 Jun 2017 12:24:23 +0000 (UTC) Received: from lelnx193.ext.ti.com (lelnx193.ext.ti.com [198.47.27.77]) by lists.denx.de (Postfix) with ESMTPS id 1EC52C21CC3 for ; Fri, 2 Jun 2017 12:24:19 +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 v52COHif028495; 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=MzTNiI2ML9SdS5G533BI0yS9FVyzboh6GSE5u1U0b+k=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xs10I/uenY2yGYolulNcgtVlLKe4ePdqdB6PSTi1DevoCAWaeoCUGrPK3ma4kPGCR HT61JFqx8933LgAbwepAELXrt72FdO77bphC6vw83pQsQm2hHIbapq0ka81UUA1/Wc J7Ul9bs7YRNuDWybq6eA7NqOlQapFJB80xOKb30k= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v52COHtw018742; Fri, 2 Jun 2017 07:24:17 -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:16 -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 v52CO6IV010502; Fri, 2 Jun 2017 07:24:15 -0500 From: Sekhar Nori To: Tom Rini Date: Fri, 2 Jun 2017 17:54:01 +0530 Message-ID: <20170602122405.18983-4-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 3/7] configs: k2g_evm: make sure config fallbacks take effect 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" Since config fallbacks contained in include/config_fallbacks.h come into k2g_evm.h file through ti_armv7_keystone2.h, it should be the last file included. Without this, #define of FAT_WRITE when environment is in FAT does not happen as the environment location is decided later in the file. Similar issues can come with other config fallbacks implemented. Signed-off-by: Sekhar Nori Reviewed-by: Tom Rini --- include/configs/k2g_evm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h index 9a07eacb8e7a..1cc35769840f 100644 --- a/include/configs/k2g_evm.h +++ b/include/configs/k2g_evm.h @@ -48,8 +48,6 @@ "get_pmmc_${boot} run_pmmc get_mon_${boot} run_mon " \ "get_fdt_${boot} get_kern_${boot} run_kern" -#include - /* SPL SPI Loader Configuration */ #define CONFIG_SPL_TEXT_BASE 0x0c080000 @@ -80,4 +78,7 @@ #endif #define SPI_MTD_PARTS KEYSTONE_SPI1_MTD_PARTS + +#include + #endif /* __CONFIG_K2G_EVM_H */ From patchwork Fri Jun 2 12:24:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 101238 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp365422qge; Fri, 2 Jun 2017 05:25:16 -0700 (PDT) X-Received: by 10.80.166.101 with SMTP id d92mr5784303edc.132.1496406316637; Fri, 02 Jun 2017 05:25:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496406316; cv=none; d=google.com; s=arc-20160816; b=byU/loz0rY7UmjnJn4/0TpyADGVdP6Rc6bgalgwDr3tsyEMw1Mc66QWXJ6jM15OLLp RlYXwsfy5Zp5BWsFlrACsNq1JZQ7EE7Rld8A+U7ZjJTYkpqERzHvRUNX1dxw3M3eftL4 zHtt2D775f2H7UNFcHRLBs0FA1/BADx3h+fWj8QokrqFsOiah7qQltkO8m4iWKZMRSEO 2p3L52ap4Hcc+2fAtVc8ssDZRLucjUxrPy7olxkHWskyp8ZgNUIUEslg6cVeslgGpeD2 LTen318+I9q5H9A4w4BdXgQLdPUs8sOQKzm0yLVdRrhSo8bMEq3eoVaMbqaDilWlFUss ma0A== 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=lxMKg6k4rYrLXyaIVPi/5aPOpiE6cKpkDrBa/lcxTr0=; b=oR/Llc9HZmKuSLRTMRMEiC8V/h5pZ0++FuNKwWCauAfB+W0eovKt7OfzoRmirvc9lk w/hQwcz13tH9DjEw5wjdhNE56tH3i7b6S4GkEB1qEP/g3mw01IXso9CYukhDIK4VBV2E trznxbEHW13EIEcamzVN8xeJt0tS2Hzjuou00xjystLtS/7Gc7gQ/W4cXzblXFYYsDM7 X54g8IlIwanPkEILetUgwWmG+UBoMYjPoLFvqs7+5a8zJn0BgXX3KPMctmx9Pl6N9F33 Ug4h7DEeJYwKOu0lrNduTIDZsaSZLZaVxfxC8BoqLDz1f5U7UK6K6Q6eqnqti5RTONVi XMjA== 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 x23si24349288edi.152.2017.06.02.05.25.16; Fri, 02 Jun 2017 05:25:16 -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 17E88C21CCE; Fri, 2 Jun 2017 12:24:36 +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 78C13C21CB8; Fri, 2 Jun 2017 12:24:34 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 59D63C21CD9; Fri, 2 Jun 2017 12:24:26 +0000 (UTC) Received: from lelnx194.ext.ti.com (lelnx194.ext.ti.com [198.47.27.80]) by lists.denx.de (Postfix) with ESMTPS id 98C57C21CB5 for ; Fri, 2 Jun 2017 12:24:22 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v52COKJa017995; Fri, 2 Jun 2017 07:24:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1496406260; bh=RI/Yp2Q7RzRNG8lL/b9s/kctXo4wKqRK13VpWj+Ceuw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=M8FDRaZx5UdB5MYd9zja8gbDKb7iBy159s7+HYj7S98VPg98AMdw+/+mlbTvrb2Tm YAy0BxzC20cO+TtX+ovy3gXVlXqHFOtQwjHGln3tCl7MBPJMXlj8/sZ14FQwv3pB3m 03U5LZ88aW0m4KMR7jtPznQXXvNKM0XOV3gVOV1M= Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v52COK3v022719; Fri, 2 Jun 2017 07:24:20 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.294.0; Fri, 2 Jun 2017 07:24:19 -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 v52CO6IW010502; Fri, 2 Jun 2017 07:24:17 -0500 From: Sekhar Nori To: Tom Rini Date: Fri, 2 Jun 2017 17:54:02 +0530 Message-ID: <20170602122405.18983-5-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 4/7] config_fallbacks: add additional fallbacks for fat filesystem 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 fallbacks needed to keep all boards building while they are migrated to use Kconfig symbols instead of defines in _config.h files for FAT filesystem. These should eventually go away once Kconfig select or imply statements are put in place and duplicated defines in _config.h removed. Signed-off-by: Sekhar Nori Reviewed-by: Tom Rini --- include/config_fallbacks.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index 5a698a8349ab..a4a4d5514070 100644 --- a/include/config_fallbacks.h +++ b/include/config_fallbacks.h @@ -29,10 +29,17 @@ #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 } #endif -#if defined(CONFIG_CMD_FAT) && !defined(CONFIG_FS_FAT) +#if (defined(CONFIG_CMD_FAT) || \ + defined(CONFIG_ENV_IS_IN_FAT) || \ + defined(CONFIG_SPL_FAT_SUPPORT)) && \ + !defined(CONFIG_FS_FAT) #define CONFIG_FS_FAT #endif +#if defined(CONFIG_ENV_IS_IN_FAT) && !defined(CONFIG_FAT_WRITE) +#define CONFIG_FAT_WRITE +#endif + #if (defined(CONFIG_CMD_EXT4) || defined(CONFIG_CMD_EXT2)) && \ !defined(CONFIG_FS_EXT4) #define CONFIG_FS_EXT4 From patchwork Fri Jun 2 12:24:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 101244 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp366673qge; Fri, 2 Jun 2017 05:28:15 -0700 (PDT) X-Received: by 10.80.181.99 with SMTP id z32mr5803596edd.6.1496406495746; Fri, 02 Jun 2017 05:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496406495; cv=none; d=google.com; s=arc-20160816; b=KTu9Tp0C2R6IcVvWg1ZSndcoR/Gq87QOZJ1BulwB2drcKrlQ9Gf2F1tcfdIzt9Z6Qs 5LhJwd0qndiwNbz+naYAjmeWoJ06t1/gIPuphMYsO719Rw6wlRUBAIZRMsB32DE4FJGV BOUVkoyIvoPu3PHbC8qReBIBepa4RuQWNfAETHpCny6PD0j58RNAzs9CfzYzbpUT2nZ2 3bKtqT2jWBm3lDIGoLDXRXz7ARtjCbRDpN1a6SoiIKBIN85wKWewE5hr9drcYUyDSxgw LJmfr5jT4MIDd97Sz+bhK5TUolCUiQhiQvD05RNrtwkfQkc+1p9lB9kqiaos+TFVUkGp dWFg== 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=JC6XDE3FfrtgDJqLnVr8ahcgxKyIleeXf9z8NpmeyEk=; b=ciaLinwSffaCc3EFS4N26kUjs/b/4duANYZ/19usUQyxC+jnFmIxlU1MDwiBNmu7vG rnKB4YVEBEA2on/qPaSiY+cBsy5zFGGoR3txoDyi3ci0ItLLYfK6BQ1NqXLPsO3wv2EQ pU0Vd6lHLLEWThzMGYP1tAEGa66tMBVBM9kckDX8u1P5Y9ZyfkFQF297WCP1SDbLCyCs ZJL04k010Y7sE8b7PgHGyMwp3gYsFsdrWIlVYXCUTEj5epGnubCgZO+d6WdK707cxryK SjkQqT+M6JEFQNIYR0W64xhKhS7+6HLv5H64okhvTtyWWY0vF5UrqHHjquu88fwp/q+D L2MA== 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 o60si21161578edb.283.2017.06.02.05.28.15; Fri, 02 Jun 2017 05:28:15 -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 063A9C21CB1; Fri, 2 Jun 2017 12:27:11 +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 6BBBCC21CEF; Fri, 2 Jun 2017 12:27:09 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C08EFC21CCB; Fri, 2 Jun 2017 12:25:13 +0000 (UTC) Received: from fllnx209.ext.ti.com (fllnx209.ext.ti.com [198.47.19.16]) by lists.denx.de (Postfix) with ESMTPS id 4FB4AC21CA5 for ; Fri, 2 Jun 2017 12:25:10 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v52CORsB027153; Fri, 2 Jun 2017 07:24:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1496406267; bh=lQaCD6wbx5Js45Jm3ZzVH1brU3W6vKbW2LvJ07fva90=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=wY3LtUNEOyhuMOywQn3GOYJ1c2/T5zSQd9JkSgCFqXJTgXPm8bG1CihG/4aVURvuu ytImmTuv6DRzbZGhsQMymJ2qhtiskO5g6GnDhuXci/NvaYoyozrmUvCDM+NehfnL6Y LIvDTBY9RBGL/cVsG0npw0GUWLJ17eIpiDpgWm8k= Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v52COMe6018793; Fri, 2 Jun 2017 07:24:22 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Fri, 2 Jun 2017 07:24:22 -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 v52CO6IX010502; Fri, 2 Jun 2017 07:24:20 -0500 From: Sekhar Nori To: Tom Rini Date: Fri, 2 Jun 2017 17:54:03 +0530 Message-ID: <20170602122405.18983-6-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 5/7] configs: am335x: siemens: migrate to enabling FAT FS using kconfig 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" Now that there is Kconfig symbol available for enabling FAT filesystem support, migrate to using it for Siemens AM335x based boards. Signed-off-by: Sekhar Nori --- configs/draco_defconfig | 1 + configs/etamin_defconfig | 1 + configs/rastaban_defconfig | 1 + configs/thuban_defconfig | 1 + include/configs/siemens-am33x-common.h | 1 - 5 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/draco_defconfig b/configs/draco_defconfig index 0e50b3109ea2..b6f6a767f62b 100644 --- a/configs/draco_defconfig +++ b/configs/draco_defconfig @@ -66,3 +66,4 @@ CONFIG_G_DNL_MANUFACTURER="Siemens AG" CONFIG_G_DNL_VENDOR_NUM=0x0908 CONFIG_G_DNL_PRODUCT_NUM=0x02d2 CONFIG_OMAP_WATCHDOG=y +CONFIG_FS_FAT=y diff --git a/configs/etamin_defconfig b/configs/etamin_defconfig index b6911fd71743..1733a041b2e2 100644 --- a/configs/etamin_defconfig +++ b/configs/etamin_defconfig @@ -66,3 +66,4 @@ CONFIG_G_DNL_MANUFACTURER="Siemens AG" CONFIG_G_DNL_VENDOR_NUM=0x0908 CONFIG_G_DNL_PRODUCT_NUM=0x02d2 CONFIG_OMAP_WATCHDOG=y +CONFIG_FS_FAT=y diff --git a/configs/rastaban_defconfig b/configs/rastaban_defconfig index f77d4d408793..6998fcc32e6b 100644 --- a/configs/rastaban_defconfig +++ b/configs/rastaban_defconfig @@ -66,3 +66,4 @@ CONFIG_G_DNL_MANUFACTURER="Siemens AG" CONFIG_G_DNL_VENDOR_NUM=0x0908 CONFIG_G_DNL_PRODUCT_NUM=0x02d2 CONFIG_OMAP_WATCHDOG=y +CONFIG_FS_FAT=y diff --git a/configs/thuban_defconfig b/configs/thuban_defconfig index 914f70fd6a01..25494778e5a4 100644 --- a/configs/thuban_defconfig +++ b/configs/thuban_defconfig @@ -66,3 +66,4 @@ CONFIG_G_DNL_MANUFACTURER="Siemens AG" CONFIG_G_DNL_VENDOR_NUM=0x0908 CONFIG_G_DNL_PRODUCT_NUM=0x02d2 CONFIG_OMAP_WATCHDOG=y +CONFIG_FS_FAT=y diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h index 91618676752f..b5705b71693c 100644 --- a/include/configs/siemens-am33x-common.h +++ b/include/configs/siemens-am33x-common.h @@ -120,7 +120,6 @@ #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img" -#define CONFIG_FS_FAT #define CONFIG_SPL_SPI_LOAD #define CONFIG_SYS_SPI_U_BOOT_OFFS 0x20000 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 From patchwork Fri Jun 2 12:24:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 101240 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp365789qge; Fri, 2 Jun 2017 05:26:12 -0700 (PDT) X-Received: by 10.80.148.52 with SMTP id p49mr5810920eda.2.1496406372279; Fri, 02 Jun 2017 05:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496406372; cv=none; d=google.com; s=arc-20160816; b=vXT9QwZAsqMp8mJpWTw/vI4TJE0AmfpEbGrjegoRvUKQ0kCmqj3VKEP9Zx52zY3Ed9 cCNxwimtPZmTO0PpLNMWity+QJriAqP31DQ5OfrK+E08dXbOk1Yw4opcUONK0BF9LPab Mwo7m+5urxg1tMw5kPvwM5K8a6d0CDCV8reFys6DFL/p8Pg8wIKRVkkyQmF2hbIjVvZl ZbYaE75Jus2Rp1nOHXHl/1q6Ny2bt6AejI/v3zb24KC3QmGfaqvmsdRjIkvlutyeghTB PZpCuJCmQR8Xqyd0I59bSfFzv7pMCpz58QIEY91Sp5sTgXTAasw7uNOdHhqubzmxLsVl ZLmw== 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=YL/CUqMVwVnyKjuF2khJN0Rdn/Czi0UFfB5TNJMOgWA=; b=CmPuPSqiMh/Sg8n46cNWQj8XT94q+1Rt4rhmixXGFG3Xee3g5eR4Ne6gia/EGSlwHs W/fFztlqe7UvcMQ4q6Dei6uykzVwAc8dqel9S0xoQIDPllz4zA03sKEIxZDTZIg1USim a/Ui1kCnP3NPae9CWIJcNMnmf+919PACUZa9uwRfZaOObGfM1/GiQb2jcmuGwDjRjhU9 pHdGvJ46wfj4+IoB8kKX0tWwGv6F6O8kZkTDwEP0iew5zpRF+EzYInTk3kMtH/CpBspI YUiUXqnaPx1avu1NsgzCx1AobiNW+TPSmHVuiETLtgBc/NNIA1eDODOv1/b1iLUcpIcI 619w== 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 c35si17791312ede.103.2017.06.02.05.26.11; Fri, 02 Jun 2017 05:26:12 -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 BD0F5C21CC5; Fri, 2 Jun 2017 12:25:22 +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 3A1CFC21CCA; Fri, 2 Jun 2017 12:25:08 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E063FC21CB3; Fri, 2 Jun 2017 12:24:31 +0000 (UTC) Received: from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17]) by lists.denx.de (Postfix) with ESMTPS id 7015CC21CEA for ; Fri, 2 Jun 2017 12:24:31 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v52CORSC023046; Fri, 2 Jun 2017 07:24:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1496406268; bh=U8/Y27daMJU7F2ZH5OWQPAns0Q3UKphkX8MOsp0GmcE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=N2VP+VSampNApDxW9mZO8uHhegwBslkNpMidOhvZwnvsOeMyN9EV9ZJANGl7L0Kdb slH6LYzHW5IsV/xE+f0Na5WSwAVcRBc9YYJ9pF6RDGgMyEwWp9oVHvxW7kawKxW659 exO9ueSXFDXf0KmUgv1z43PKp4Jq8hD6a9urYxwE= Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v52COREV018859; Fri, 2 Jun 2017 07:24:27 -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:26 -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 v52CO6IZ010502; Fri, 2 Jun 2017 07:24:25 -0500 From: Sekhar Nori To: Tom Rini Date: Fri, 2 Jun 2017 17:54:05 +0530 Message-ID: <20170602122405.18983-8-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 7/7] configs: omapl138_lcdk: enable fat filesystem 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" Now that we have ability to enable FAT filesystem support through Kconfig symbols, do it for OMAP-L138 LCDK board. Signed-off-by: Sekhar Nori --- configs/omapl138_lcdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig index ff5e06de299d..13585cff30a4 100644 --- a/configs/omapl138_lcdk_defconfig +++ b/configs/omapl138_lcdk_defconfig @@ -29,4 +29,5 @@ CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_STMICRO=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SYS_NS16550=y +CONFIG_FS_FAT=y CONFIG_OF_LIBFDT=y