env: avoid build error for boards without CONFIG_SYS_{CPU, BOARD}
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 17 Jun 2016 05:24:07 +0000 (14:24 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 24 Jun 2016 21:23:11 +0000 (17:23 -0400)
commit96044745cb8c086d47215f4aa7b4defb1d1fec57
tree3e9f00e13c797353e21a9eaa650b8650e8c7f2cf
parent5847084f6bbd0778afb29f0574085d4210ea8cff
env: avoid build error for boards without CONFIG_SYS_{CPU, BOARD}

If CONFIG_ENV_VARS_UBOOT_CONFIG is enabled (it is by distro), this
code causes build error for boards without CONFIG_SYS_{CPU,_BOARD}.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/env_default.h