xea: config: Use CONFIG_PREBOOT from Kconfig
authorLukasz Majewski <lukma@denx.de>
Sat, 26 Dec 2020 00:09:01 +0000 (01:09 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 8 Jan 2021 13:41:55 +0000 (08:41 -0500)
commitee66df1425791fe65ccb7b9bfcfd92f3587a0f1d
treefd8f32aac68356418f85dd11b9a5756df2d96c65
parenta062d8e610bf71525f4243638f1864e8d1309adb
xea: config: Use CONFIG_PREBOOT from Kconfig

The usage of the preboot feature is now controlled via a separate Kconfig
option - namely CONFIG_USE_PREBOOT.
It must be enabled for preboot code executing commands now defined in
CONFIG_PREBOOT (also moved to the Kconfig).

After defining both CONFIG_USE_PREBOOT and CONFIG_PREBOOT in
imx28_xea_defconfig the define of CONFIG_PREBOOT shall be removed from
xea.h as it is redundant.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
configs/imx28_xea_defconfig
include/configs/xea.h