mx7_common: Share configs to skip low level init
authorJun Nie <jun.nie@linaro.org>
Wed, 8 May 2019 06:38:29 +0000 (14:38 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
commit3ad0d26878430f235d1c189e179e6891f5513639
treef9fa8e4377be041fde7ddfc7ebd7959e0e8c8ded
parent7a3faf31a7c2db55494b6af782b7a6cc7e7e8fe2
mx7_common: Share configs to skip low level init

Share configs in mx7 to skip low level init if we are in the case where
OPTEE is loaded already (maybe by ARM Trusted Firmware) and that most of
the low level initialization is already done and that we may/should skip
it doing them here.

Fix the definition detection with size detection to decide whether to skip
it.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
include/configs/mx7_common.h
include/configs/warp7.h