From patchwork Mon Jan 2 13:47:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frans Meulenbroeks X-Patchwork-Id: 133841 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 8E1391007D3 for ; Tue, 3 Jan 2012 00:48:07 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1BDFA2826F; Mon, 2 Jan 2012 14:48:04 +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 7IZdesFPrOCR; Mon, 2 Jan 2012 14:48:03 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2736028270; Mon, 2 Jan 2012 14:48:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A911028270 for ; Mon, 2 Jan 2012 14:48:00 +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 KNyVd+COK+N1 for ; Mon, 2 Jan 2012 14:48:00 +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 mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by theia.denx.de (Postfix) with ESMTPS id F18AE2826F for ; Mon, 2 Jan 2012 14:47:58 +0100 (CET) Received: by eekc14 with SMTP id c14so16141596eek.3 for ; Mon, 02 Jan 2012 05:47:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=WDTqBt2DMGZABgaYEo85uuyl9pA4nl0yQbDEi/qWxH4=; b=fKm5rc7y2v4tl+6TJ2ei8JlkZnMnNQLtRr4n30FiUr6yZLnNO15BnRTLY05UZK1Yyo X/14W3Dv4NYY3/a+oWulqqzFb0i9Cwr/5ylQcTJCwxJLtDKaoedReonjA974RtsjzcV5 gzXkW62m1DHLneUCXAci6AHFJyiCyCBIT+vJU= Received: by 10.213.13.220 with SMTP id d28mr10200422eba.98.1325512077856; Mon, 02 Jan 2012 05:47:57 -0800 (PST) Received: from localhost.localdomain (D4B26BC1.static.ziggozakelijk.nl. [212.178.107.193]) by mx.google.com with ESMTPS id 13sm191679331eeu.1.2012.01.02.05.47.54 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 Jan 2012 05:47:55 -0800 (PST) From: Frans Meulenbroeks To: u-boot@lists.denx.de Date: Mon, 2 Jan 2012 14:47:43 +0100 Message-Id: <1325512063-15583-1-git-send-email-fransmeulenbroeks@gmail.com> X-Mailer: git-send-email 1.7.0.4 Subject: [U-Boot] [PATCH] fw_env.h: added a few missing defines 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 The README file lists 4 defined that were not actually present in the .h file but that were needed to get things working with settings compiled in. They are Added these to the .h file (the values above are the ones from the README file) Signed-off-by: Frans Meulenbroeks --- Noticed this was not applied and still pending in my git tree Couldn't find a trace that I actually posted it so here it is (possibly again) tools/env/fw_env.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h index 9258c79..2dcb373 100644 --- a/tools/env/fw_env.h +++ b/tools/env/fw_env.h @@ -34,8 +34,12 @@ #define DEVICE2_NAME "/dev/mtd2" #define DEVICE1_OFFSET 0x0000 #define ENV1_SIZE 0x4000 +#define DEVICE1_ESIZE 0x4000 +#define DEVICE1_ENVSECTORS 2 #define DEVICE2_OFFSET 0x0000 #define ENV2_SIZE 0x4000 +#define DEVICE2_ESIZE 0x4000 +#define DEVICE2_ENVSECTORS 2 #define CONFIG_BAUDRATE 115200 #define CONFIG_BOOTDELAY 5 /* autoboot after 5 seconds */