X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fconfigs%2Fmx7_common.h;h=cc07e858d57eff316becb34cff23a737dc7b2d00;hb=1af3c7f422f627a544fec13e436d1a7975e39e73;hp=cc7e87269ee8d4bf5a90f5e3fef4907646505ebd;hpb=4b37f36d68ebb79cdc7d68a539de71e28e954d11;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index cc7e872..cc07e85 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -9,6 +9,7 @@ #define __MX7_COMMON_H #include +#include #include #include @@ -40,18 +41,24 @@ #define CONFIG_MXC_UART /* MMC */ -#define CONFIG_FSL_USDHC #define CONFIG_ARMV7_SECURE_BASE 0x00900000 #define CONFIG_ARMV7_PSCI_1_0 -/* Secure boot (HAB) support */ -#ifdef CONFIG_SECURE_BOOT -#define CONFIG_CSF_SIZE 0x2000 #ifdef CONFIG_SPL_BUILD #define CONFIG_SPL_DRIVERS_MISC_SUPPORT #endif + +/* + * If we have defined the OPTEE ram size and not OPTEE it means that we were + * launched by OPTEE, because of that we shall skip all the low level + * initialization since it was already done by ATF or OPTEE + */ +#if (CONFIG_OPTEE_TZDRAM_SIZE != 0) +#ifndef CONFIG_OPTEE +#define CONFIG_SKIP_LOWLEVEL_INIT +#endif #endif #endif