linux-mips
[Top] [All Lists]

Re: [PATCH 2/5] MTD: bcm63xxpart: make sure CFE and NVRAM partitions are

To: Jonas Gorski <jonas.gorski@gmail.com>
Subject: Re: [PATCH 2/5] MTD: bcm63xxpart: make sure CFE and NVRAM partitions are at least 64K
From: Guillaume LECERF <glecerf@gmail.com>
Date: Sat, 17 Dec 2011 14:13:42 +0100
Cc: linux-mtd@lists.infradead.org, linux-mips@linux-mips.org, Artem Bityutskiy <Artem.Bityutskiy@intel.com>, David Woodhouse <dwmw2@infradead.org>, Florian Fainelli <florian@openwrt.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=WDDG5p9R9FxgFCBKVpGvyNN0fjOR3NnzIW1fCyTnPdM=; b=VGsX7Wmz0oXCJbkwBujLJX4M//x5tcQQnETm4DqW7yCa8ojW7X6KpzYclvQonSdClv eQRXMaiVJieo2HDspeRFAFMeHL3V+QoXNg+xuoMk+S8CWbno9aXl+xktOzpyu64lq84e 8wx/anhVluTpofM0YEbUBgB371RlELfFVQ/o8=
In-reply-to: <1324126698-9919-3-git-send-email-jonas.gorski@gmail.com>
References: <1324126698-9919-1-git-send-email-jonas.gorski@gmail.com> <1324126698-9919-3-git-send-email-jonas.gorski@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
Hi Jonas,

2011/12/17 Jonas Gorski <jonas.gorski@gmail.com>:
> -       spareaddr = roundup(totallen, master->erasesize) + master->erasesize;
> -       sparelen = master->size - spareaddr - master->erasesize;
> +       spareaddr = roundup(totallen, master->erasesize) + cfelen;

spareaddr = roundup(totallen, cfelen) + cfelen ?

-- 
Guillaume LECERF
OpenBricks developer - www.openbricks.org

<Prev in Thread] Current Thread [Next in Thread>