iMX: Fix compilation error when enabling SECURE_BOOT
authorgaurav rana <gaurav.rana@freescale.com>
Mon, 6 Apr 2015 07:35:33 +0000 (13:05 +0530)
committerStefano Babic <sbabic@denx.de>
Wed, 22 Apr 2015 14:02:46 +0000 (16:02 +0200)
commit1c29ad7bc0c74e975a9f16e6fcecf1b7098b34e1
tree7b3f16a54b4770f575c36fd6a6076417e50106dd
parent6b396b31626ebe818d63421dae75e8c5bc6d9092
iMX: Fix compilation error when enabling SECURE_BOOT

Move the compilation of file fsl_validate.c in MACRO CONFIG_CMD_ESBC_VALIDATE.
This file should be compiled only when the above MACRO is defined

This caused a break in compilation of iMX platforms when compiling for SECURE_BOOT

Signed-off-by: Gaurav Rana <gaurav.rana@freescale.com>
board/freescale/common/Makefile