Skip to contentSkip to conversation

Odroid-XU3: Undefine TRACE CONFIGs in Odroid XU3

PATCH New Inha Song 3 participants 4 messages Mar 12, 2015 – Mar 13, 2015

lore
Share & tools
lore

Inha Song

author
#0 lore raw

PATCH 1/1 Odroid-XU3: Undefine TRACE CONFIGs in Odroid XU3

This patch undefines Trace configs in Odroidx XU3. Trace configs are defined in exynos5-common.h

---
 include/configs/odroid_xu3.h | 5 +++++
 1 file changed, 5 insertions(+)
include/configs/odroid_xu3.h +5 -0
index c395020..f427fe2 100644
@@ -23,6 +23,11 @@
 
 #define TZPC_BASE_OFFSET		0x10000
 
+/* TRACE configs are defined in exynos5-common */
+#undef CONFIG_TRACE
+#undef CONFIG_CMD_TRACE
+#undef CONFIG_TRACE_EARLY
+
 #define CONFIG_CMD_MMC
 
 #define CONFIG_NR_DRAM_BANKS	8
Signature · 1 line
2.0.0.390.gcb682f8
#1 lore raw

PATCH 1/1 Odroid-XU3: Undefine TRACE CONFIGs in Odroid XU3

Quoted 2 lines · Inha Song

This patch undefines Trace configs in Odroidx XU3. Trace configs are defined in exynos5-common.h

Would be great to explain why you want to disable trace on this specific board but leave it enabled on all other exynos5 boards?

Quoted 11 lines
---
 include/configs/odroid_xu3.h | 5 +++++
 1 file changed, 5 insertions(+)
include/configs/odroid_xu3.h +0 -0
index c395020..f427fe2 100644
@@ -23,6 +23,11 @@
 

include/configs/odroid_xu3.h line 33

Quoted 10 lines
include/configs/odroid_xu3.h +5 -0
 #define TZPC_BASE_OFFSET		0x10000
 
+/* TRACE configs are defined in exynos5-common */
+#undef CONFIG_TRACE
+#undef CONFIG_CMD_TRACE
+#undef CONFIG_TRACE_EARLY
+
 #define CONFIG_CMD_MMC
 
 #define CONFIG_NR_DRAM_BANKS	8

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6170 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150312/686915a7/attachment.bin>

#2 lore raw

PATCH 1/1 Odroid-XU3: Undefine TRACE CONFIGs in Odroid XU3

Hi,

Quoted 9 lines · Sjoerd Simons
Quoted 2 lines · Inha Song

This patch undefines Trace configs in Odroidx XU3. Trace configs are defined in exynos5-common.h

Would be great to explain why you want to disable trace on this specific board but leave it enabled on all other exynos5 boards?

Can I suggest putting an #ifdef FTRACE around the #define options as with sandbox.h?

Quoted 15 lines
Quoted 15 lines
---
 include/configs/odroid_xu3.h | 5 +++++
 1 file changed, 5 insertions(+)
include/configs/odroid_xu3.h +0 -0
index c395020..f427fe2 100644
@@ -23,6 +23,11 @@
 
 #define TZPC_BASE_OFFSET             0x10000
 
Quoted 8 lines

include/configs/odroid_xu3.h line 33

Quoted 8 lines
include/configs/odroid_xu3.h +5 -0
+/* TRACE configs are defined in exynos5-common */
+#undef CONFIG_TRACE
+#undef CONFIG_CMD_TRACE
+#undef CONFIG_TRACE_EARLY
+
 #define CONFIG_CMD_MMC
 
 #define CONFIG_NR_DRAM_BANKS 8

Regards,
Simon

author
#3 lore raw

PATCH 1/1 Odroid-XU3: Undefine TRACE CONFIGs in Odroid XU3

Hi, Simon,

Quoted 8 lines · On Thu, 12 Mar 2015 15:11:05 -0700 Simon Glass <[email protected]> wrote:

Hi,

Quoted 5 lines · Sjoerd Simons
Quoted 2 lines · Inha Song

This patch undefines Trace configs in Odroidx XU3. Trace configs are defined in exynos5-common.h

Quoted 7 lines
Quoted 4 lines

Would be great to explain why you want to disable trace on this specific board but leave it enabled on all other exynos5 boards?

Can I suggest putting an #ifdef FTRACE around the #define options as with sandbox.h?

Tracing is always enabled with FTRACE. Right?
So that, We need to add #ifdef FTRACE in exynos5-common.h as you mentioned.

I will send exynos5-common.h patch.

Best Regards,
Inha Song.

Quoted 27 lines
Quoted 16 lines
Quoted 16 lines
---
 include/configs/odroid_xu3.h | 5 +++++
 1 file changed, 5 insertions(+)
include/configs/odroid_xu3.h +0 -0
index c395020..f427fe2 100644
@@ -23,6 +23,11 @@
 
 #define TZPC_BASE_OFFSET             0x10000
 
Quoted 8 lines

include/configs/odroid_xu3.h line 33

Quoted 8 lines
include/configs/odroid_xu3.h +5 -0
+/* TRACE configs are defined in exynos5-common */
+#undef CONFIG_TRACE
+#undef CONFIG_CMD_TRACE
+#undef CONFIG_TRACE_EARLY
+
 #define CONFIG_CMD_MMC
 
 #define CONFIG_NR_DRAM_BANKS 8

Regards,
Simon