From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 02 Dec 2009 11:07:44 -0600 Subject: [U-Boot] Breakage on arm/next In-Reply-To: References: <4B152AAE.8090900@windriver.com> <20091201160555.GA4646@mail.gnudd.com> Message-ID: <4B169EE0.9060400@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de apgmoorthy wrote: > I felt moving these macros "include/linux/mtd/onenand.h" will be ideal in this > scenario. Are they going to be the same on all boards? We let the board determine the environment location for other types of storage. How about just using CONFIG_ENV_ADDR/CONFIG_ENV_SIZE? On boards that must dynamically support multiple possibilities, define it as an expression that returns the right thing. -Scot