From 96f45bbd87efbd6c82c442ae73b8121cce4bc404 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 6 Jul 2019 17:18:34 +0200 Subject: [PATCH] software/libbase/id: update code (length is now fixed to 256) --- litex/soc/software/libbase/id.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/litex/soc/software/libbase/id.c b/litex/soc/software/libbase/id.c index 6d1c334e1..d380f4976 100644 --- a/litex/soc/software/libbase/id.c +++ b/litex/soc/software/libbase/id.c @@ -8,12 +8,9 @@ void get_ident(char *ident) { #ifdef CSR_IDENTIFIER_MEM_BASE - int len, i; - - len = MMPTR(CSR_IDENTIFIER_MEM_BASE); - for(i=0;i