board: atmel: sama7g5ek: avoid rewriting of configured CONFIG_BOOTCOMMAND
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 19 Aug 2021 11:09:41 +0000 (14:09 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 21 Sep 2021 07:07:04 +0000 (10:07 +0300)
commit9e4bf2161c1c49b0dbf13cdf0ccc59dac3540e69
treeb909fce3280213351578aad6b3afb0a69096f745
parentd2b4809bde84f3074e47d2877a441161f79c254f
board: atmel: sama7g5ek: avoid rewriting of configured CONFIG_BOOTCOMMAND

Rewrite the CONFIG_BOOTCOMMAND only if it's not previously configured from
defconfig file.
This allows the user to select from defconfig/menuconfig the desired
boot command.
Adjust the current board defconfigs to reflect the default booting command
for the specific ENV configuration.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
configs/sama7g5ek_mmc1_defconfig
configs/sama7g5ek_mmc_defconfig
include/configs/sama7g5ek.h