X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fconfigs%2Fmx7_common.h;h=4704276a74de840ed00ae398d8c4340fb48a3b69;hb=c45568cc4e51b7bbe2f3ce28d8f2566048aeebf3;hp=f3167c51d42f01422685d3c7be0503e61bb5663f;hpb=0633e134784aba58ee664e9fbcee4afe1588d2be;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index f3167c5..4704276 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -9,49 +9,27 @@ #define __MX7_COMMON_H #include +#include #include #include -#ifndef CONFIG_MX7 -#define CONFIG_MX7 -#endif - /* Timer settings */ #define CONFIG_MXC_GPT_HCLK #define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */ -#define COUNTER_FREQUENCY CONFIG_SC_TIMER_CLK -#define CONFIG_SYS_FSL_CLK - -#define CONFIG_SYS_BOOTM_LEN 0x1000000 /* Enable iomux-lpsr support */ #define CONFIG_IOMUX_LPSR -#define CONFIG_LOADADDR 0x80800000 - -/* allow to overwrite serial and ethaddr */ -#define CONFIG_ENV_OVERWRITE - /* Miscellaneous configurable options */ -#define CONFIG_SYS_CBSIZE 512 -#define CONFIG_SYS_MAXARGS 32 /* UART */ -#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 0x4000 -#ifdef CONFIG_SPL_BUILD -#define CONFIG_SPL_DRIVERS_MISC_SUPPORT -#endif -#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 + */ #endif