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 */