Skip to content
Snippets Groups Projects
Commit f44ef7d6 authored by Inha Song's avatar Inha Song Committed by Minkyu Kang
Browse files

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: default avatarInha Song <ideal.song@samsung.com>
Acked-by: default avatarSimon Glass <sjg@chroimum.org>
Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
parent 0467faf5
No related branches found
No related tags found
No related merge requests found
...@@ -16,14 +16,14 @@ ...@@ -16,14 +16,14 @@
#define CONFIG_SYS_CACHELINE_SIZE 64 #define CONFIG_SYS_CACHELINE_SIZE 64
#define CONFIG_EXYNOS_SPL #define CONFIG_EXYNOS_SPL
/* Allow tracing to be enabled */ #ifdef FTRACE
#define CONFIG_TRACE #define CONFIG_TRACE
#define CONFIG_CMD_TRACE #define CONFIG_CMD_TRACE
#define CONFIG_TRACE_BUFFER_SIZE (16 << 20) #define CONFIG_TRACE_BUFFER_SIZE (16 << 20)
#define CONFIG_TRACE_EARLY_SIZE (8 << 20) #define CONFIG_TRACE_EARLY_SIZE (8 << 20)
#define CONFIG_TRACE_EARLY #define CONFIG_TRACE_EARLY
#define CONFIG_TRACE_EARLY_ADDR 0x50000000 #define CONFIG_TRACE_EARLY_ADDR 0x50000000
#endif
/* Enable ACE acceleration for SHA1 and SHA256 */ /* Enable ACE acceleration for SHA1 and SHA256 */
#define CONFIG_EXYNOS_ACE_SHA #define CONFIG_EXYNOS_ACE_SHA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment