diff options
author | Inha Song <ideal.song@samsung.com> | 2015-03-13 11:48:35 +0300 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2015-04-06 08:19:36 +0300 |
commit | f44ef7d60c7349c0eed5d2363a2649badaae2610 (patch) | |
tree | c62fa476130c675643d4df66da9cf88eeefc9491 | |
parent | 0467faf555022fa5447a037b753b150448217239 (diff) | |
download | u-boot-f44ef7d60c7349c0eed5d2363a2649badaae2610.tar.xz |
exynos5: add trace feature #ifdef in exynos5-common.h
We can enable / disable trace feature from the FTRACE config options.
To enable, compile U-Boot with FTRACE=1.
This patch add #ifdef FTRACE in exynos5-common.h for enable/disable
to use FTRACE configs instead of having to change board config files.
Signed-off-by: Inha Song <ideal.song@samsung.com>
Acked-by: Simon Glass <sjg@chroimum.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r-- | include/configs/exynos5-common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h index 3ab8d559bf..2eddb07f0a 100644 --- a/include/configs/exynos5-common.h +++ b/include/configs/exynos5-common.h @@ -16,14 +16,14 @@ #define CONFIG_SYS_CACHELINE_SIZE 64 #define CONFIG_EXYNOS_SPL -/* Allow tracing to be enabled */ +#ifdef FTRACE #define CONFIG_TRACE #define CONFIG_CMD_TRACE #define CONFIG_TRACE_BUFFER_SIZE (16 << 20) #define CONFIG_TRACE_EARLY_SIZE (8 << 20) #define CONFIG_TRACE_EARLY #define CONFIG_TRACE_EARLY_ADDR 0x50000000 - +#endif /* Enable ACE acceleration for SHA1 and SHA256 */ #define CONFIG_EXYNOS_ACE_SHA |