[U-Boot] [PATCH 3/3] vexpress64: store env in flash

Tom Rini trini at konsulko.com
Thu Oct 29 15:50:21 CET 2015


On Thu, Oct 29, 2015 at 09:17:04AM +0000, Ryan Harkin wrote:
> Hi Tom,
> 
> On 28 October 2015 at 22:07, Tom Rini <trini at konsulko.com> 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 <ryan.harkin at linaro.org> 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: <http://lists.denx.de/pipermail/u-boot/attachments/20151029/c145d3e0/attachment.sig>


More information about the U-Boot mailing list