[U-Boot] [PATCH] zmx25: Fix build warning by defining CONFIG_DISPLAY_CPUINFO
Fabio Estevam
fabio.estevam at freescale.com
Fri Sep 23 14:07:46 CEST 2011
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 <fabio.estevam at freescale.com>
---
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
More information about the U-Boot
mailing list