From patchwork Mon Jan 27 15:58:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Holger Brunck X-Patchwork-Id: 314414 X-Patchwork-Delegate: albert.aribaud@free.fr 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 1B7C52C0079 for ; Tue, 28 Jan 2014 02:59:27 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CB8CD4B3B1; Mon, 27 Jan 2014 16:59:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 ECFcF8kHmrbS; Mon, 27 Jan 2014 16:59:22 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 90EAE4B359; Mon, 27 Jan 2014 16:59:10 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 48CBE4B29D for ; Mon, 27 Jan 2014 16:59:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 CSnyVoZW1y2q for ; Mon, 27 Jan 2014 16:59:04 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=SKIP(-1.5) (only DNSBL check requested) Received: from mail-de.keymile.com (mail-de.keymile.com [195.8.104.250]) by theia.denx.de (Postfix) with ESMTPS id 5062F4B330 for ; Mon, 27 Jan 2014 16:59:03 +0100 (CET) Received: from [10.9.1.54] (port=46552 helo=mailrelay.de.keymile.net) by mail-de.keymile.com with esmtp (Exim 4.76) (envelope-from ) id 1W7oaT-0002vI-0t; Mon, 27 Jan 2014 16:59:01 +0100 Received: from ch10641.keymile.net (ch10641.keymile.net [172.31.40.7]) by mailrelay.de.keymile.net (8.12.2/8.12.2) with ESMTP id s0RFwpOm014899; Mon, 27 Jan 2014 16:59:00 +0100 (MET) From: Holger Brunck To: u-boot@lists.denx.de Date: Mon, 27 Jan 2014 16:58:25 +0100 Message-Id: <1390838309-11672-4-git-send-email-holger.brunck@keymile.com> X-Mailer: git-send-email 1.8.0.1 In-Reply-To: <1390838309-11672-1-git-send-email-holger.brunck@keymile.com> References: <1390838309-11672-1-git-send-email-holger.brunck@keymile.com> Cc: Holger Brunck Subject: [U-Boot] [PATCH 4/8] arm/km: add CONFIG_KM_BOARD_EXTRA_ENV to default environment X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This is needed for board specific additional environment variables. E.g. the mgcoge3un has this additional "waitforne" variable. Signed-off-by: Holger Brunck --- include/configs/km/km_arm.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index e74f85f..6278e76 100644 --- a/include/configs/km/km_arm.h +++ b/include/configs/km/km_arm.h @@ -289,10 +289,15 @@ int get_scl(void); " ${addr} " __stringify(CONFIG_ENV_OFFSET_REDUND) " 4\0" #endif +#ifndef CONFIG_KM_BOARD_EXTRA_ENV +#define CONFIG_KM_BOARD_EXTRA_ENV "" +#endif + /* * Default environment variables */ #define CONFIG_EXTRA_ENV_SETTINGS \ + CONFIG_KM_BOARD_EXTRA_ENV \ CONFIG_KM_DEF_ENV \ CONFIG_KM_NEW_ENV \ "arch=arm\0" \