From patchwork Mon Feb 29 13:58:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mugunthan V N X-Patchwork-Id: 589985 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 14C9A140C23 for ; Tue, 1 Mar 2016 00:59:12 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9161EA75D7; Mon, 29 Feb 2016 14:59:07 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cDt-h_83zF3L; Mon, 29 Feb 2016 14:59:07 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4E649A75DE; Mon, 29 Feb 2016 14:59:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 82E90A751E for ; Mon, 29 Feb 2016 14:58:57 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5bry68ag_6cb for ; Mon, 29 Feb 2016 14:58:57 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by theia.denx.de (Postfix) with ESMTPS id 1DBC6A74BA for ; Mon, 29 Feb 2016 14:58:53 +0100 (CET) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id u1TDwoeO032566; Mon, 29 Feb 2016 07:58:50 -0600 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id u1TDwovF015464; Mon, 29 Feb 2016 07:58:50 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.224.2; Mon, 29 Feb 2016 07:58:50 -0600 Received: from a0131834lt.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id u1TDwipZ027706; Mon, 29 Feb 2016 07:58:47 -0600 From: Mugunthan V N To: Date: Mon, 29 Feb 2016 19:28:27 +0530 Message-ID: <1456754309-20706-2-git-send-email-mugunthanvnm@ti.com> X-Mailer: git-send-email 2.7.2.333.g70bd996 In-Reply-To: <1456754309-20706-1-git-send-email-mugunthanvnm@ti.com> References: <1456754309-20706-1-git-send-email-mugunthanvnm@ti.com> MIME-Version: 1.0 Cc: Sekhar Nori , Tom Rini Subject: [U-Boot] [PATCH 1/3] include: configs: am335x_evm: add FAT_ENV configs when env is in fat X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 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" When CONFIG_ENV_IS_IN_FAT is defined, define FAT_ENV configurations for storing the environment setup. Signed-off-by: Mugunthan V N --- include/configs/am335x_evm.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 6ebe0b3..5cc6b73 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -39,6 +39,12 @@ /* Custom script for NOR */ #define CONFIG_SYS_LDSCRIPT "board/ti/am335x/u-boot.lds" +#ifdef CONFIG_ENV_IS_IN_FAT +#define FAT_ENV_INTERFACE "mmc" +#define FAT_ENV_DEVICE_AND_PART "0:1" +#define FAT_ENV_FILE "uboot.env" +#endif + /* Always 128 KiB env size */ #define CONFIG_ENV_SIZE (128 << 10)