From: Tom Rini Date: Thu, 29 Oct 2015 10:50:21 -0400 Subject: [U-Boot] [PATCH 3/3] vexpress64: store env in flash In-Reply-To: References: <1445421247-15013-4-git-send-email-ryan.harkin@linaro.org> <20151028220726.GH23893@bill-the-cat> Message-ID: <20151029145021.GP23893@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Oct 29, 2015 at 09:17:04AM +0000, Ryan Harkin wrote: > Hi Tom, > > On 28 October 2015 at 22:07, Tom Rini wrote: > > On Wed, Oct 28, 2015 at 10:43:41PM +0100, Linus Walleij wrote: > >> On Wed, Oct 28, 2015 at 5:06 PM, Ryan Harkin wrote: > >> > >> > For reasons I don't understand, envcrc.c includes config.h which > >> > includes vexpress64_aemv8a.h without the board #defines set at all, no > >> > matter which board you are. So the #error gets hit no matter if > >> > you're building for FVP or Juno. > >> > >> This is what we should try to avoid, we need to know why this happens :/ > > > > The host tools are not board-independent as they include a copy of the > > target board env. Keep that in mind. > > So that means we can't use #error in the target board include file > (eg. vexpress_aemv8a.h) to indicate that no board was set, correct? Correct. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: