]> git.dujemihanovic.xyz Git - u-boot.git/commit
configs: k2*_evm: let each board decide env location
authorSekhar Nori <nsekhar@ti.com>
Fri, 2 Jun 2017 12:24:00 +0000 (17:54 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 3 Jun 2017 21:55:18 +0000 (17:55 -0400)
commitae8733910b4f7388ebb965c8f31cfb47e5c19f21
tree46dd1a283ebdb84ea9229c739cfd4d132a878457
parenteedfb89e61ec823bbfc56cca62ea96fa045c4206
configs: k2*_evm: let each board decide env location

Not all TI Keystone2 EVMs want environment in NAND flash.
K2G EVM which has an MMC/SD slot, keep environment in a
FAT partition on SD card.

Since ti_armv7_keystone2.h defines environment is in NAND,
boards which do not follow that have to #undef'ine that
configuration. This leads to ugly ordering issues around
where exactly the include of ti_armv7_keystone2.h can come
in within the k2*_evm.h files.

Move environment location to config file of each board.
This should make it easy to change it for any one board
without affecting all other boards.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
include/configs/k2e_evm.h
include/configs/k2g_evm.h
include/configs/k2hk_evm.h
include/configs/k2l_evm.h
include/configs/ti_armv7_keystone2.h