[U-Boot] [PATCH 17/23] ARM64: zynqmp: Allow overwrite identification string

Michal Simek michal.simek at xilinx.com
Thu Jan 14 14:46:27 CET 2016


Keep default option there but allow overwrite it.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 include/configs/xilinx_zynqmp.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index dcd7552bd1ad..5008722bf4ce 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -35,7 +35,9 @@
 /* Cache Definitions */
 #define CONFIG_SYS_CACHELINE_SIZE	64
 
-#define CONFIG_IDENT_STRING		" Xilinx ZynqMP"
+#if !defined(CONFIG_IDENT_STRING)
+# define CONFIG_IDENT_STRING		" Xilinx ZynqMP"
+#endif
 
 #define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE + 0x7fff0)
 
-- 
1.9.1



More information about the U-Boot mailing list