From patchwork Thu Dec 1 13:30:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frans Meulenbroeks X-Patchwork-Id: 128699 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 2FDD1B6F69 for ; Fri, 2 Dec 2011 00:31:28 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5746728090; Thu, 1 Dec 2011 14:31:25 +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 J+Q-vM0eTzPo; Thu, 1 Dec 2011 14:31:25 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4D24E28093; Thu, 1 Dec 2011 14:31:24 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BE9D928093 for ; Thu, 1 Dec 2011 14:31: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 2rkg7l1BuryA for ; Thu, 1 Dec 2011 14:31:22 +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-ey0-f172.google.com (mail-ey0-f172.google.com [209.85.215.172]) by theia.denx.de (Postfix) with ESMTPS id 26ACE28090 for ; Thu, 1 Dec 2011 14:31:20 +0100 (CET) Received: by eabm6 with SMTP id m6so2233918eab.3 for ; Thu, 01 Dec 2011 05:31:19 -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=fYzxBEgaQNSP3T5MuqRl4V5rhogtGNv3JsT+dlLG8YY=; b=vnAKXpo3djv81ADOz5wPmVVB0bfAGE1EqM7lT017M+T6gnuvHHurau/EeqchxgbiHI qgJWTKsokd3syGCkHysPv42VH6CRhNdc8SrF53movZUiTTys+dTF7AOv06LjYKGO7uOj xjzZS3U/oKj/BY65Z/D9vT4/0YCuGgur0XWxs= Received: by 10.213.22.65 with SMTP id m1mr1079701ebb.113.1322746279255; Thu, 01 Dec 2011 05:31:19 -0800 (PST) Received: from localhost.localdomain (D4B26BC1.static.ziggozakelijk.nl. [212.178.107.193]) by mx.google.com with ESMTPS id z54sm17605713eeh.5.2011.12.01.05.31.18 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Dec 2011 05:31:18 -0800 (PST) From: Frans Meulenbroeks To: u-boot@lists.denx.de Date: Thu, 1 Dec 2011 14:30:04 +0100 Message-Id: <1322746204-4393-1-git-send-email-fransmeulenbroeks@gmail.com> X-Mailer: git-send-email 1.7.0.4 Cc: Frans Meulenbroeks 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 --- 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 */