From: Florent Kermarrec Date: Sat, 6 Jul 2019 15:18:34 +0000 (+0200) Subject: software/libbase/id: update code (length is now fixed to 256) X-Git-Tag: 24jan2021_ls180~1120 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96f45bbd87efbd6c82c442ae73b8121cce4bc404;p=litex.git software/libbase/id: update code (length is now fixed to 256) --- diff --git a/litex/soc/software/libbase/id.c b/litex/soc/software/libbase/id.c index 6d1c334e..d380f497 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