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

Ryan Harkin ryan.harkin at linaro.org
Thu Oct 29 10:17:04 CET 2015


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?


More information about the U-Boot mailing list