Skip to content
Snippets Groups Projects
Commit 497f2053 authored by Joe Hershberger's avatar Joe Hershberger Committed by Tom Rini
Browse files

tools/env: Use a board-specific default env


Originally added in aa701b94

Before this patch, there was a hard-coded env that was used as default
if the env in flash is detected as invalid.  Now this tool (compiled
for a given board) will share the default env with the u-boot for the
board.

Fix include of config.h

Need to define "TEXT_BASE" when building the fw_env tool so that the
default env will be correct for environments which use it.

Define __ASSEMBLY__ when calling #include <config.h> so that we only
get #defines (all we're interested in).

Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 47708457
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment