When building the zmx25 target we get:

Configuring for zmx25 board...
generic.c:108: warning: 'get_reset_cause' defined but not used

Fix this warning by defining CONFIG_DISPLAY_CPUINFO in the board config file.

Signed-off-by: Fabio Estevam <[email protected]>
---
 include/configs/zmx25.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/configs/zmx25.h b/include/configs/zmx25.h
index 374c88a..0c217b8 100644
--- a/include/configs/zmx25.h
+++ b/include/configs/zmx25.h
@@ -32,6 +32,8 @@
 #define CONFIG_SYS_HZ                  1000
 #define CONFIG_SYS_TEXT_BASE           0xA0000000
 
+#define CONFIG_DISPLAY_CPUINFO
+
 /*
  * Environment settings
  */
-- 
1.6.0.4


_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to