From: Florent Kermarrec Date: Thu, 26 Mar 2015 22:05:20 +0000 (+0100) Subject: software/bios/sdram: make seed_to_data static X-Git-Tag: 24jan2021_ls180~2432 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38d24b637ebda5dffb47191b3492456ca60ddf0f;p=litex.git software/bios/sdram: make seed_to_data static --- diff --git a/software/bios/sdram.c b/software/bios/sdram.c index f3dca3e4..84114799 100644 --- a/software/bios/sdram.c +++ b/software/bios/sdram.c @@ -428,7 +428,7 @@ int sdrlevel(void) #define ONEZERO 0xAAAAAAAA #define ZEROONE 0x55555555 -unsigned int seed_to_data(unsigned int seed, int random) +static unsigned int seed_to_data(unsigned int seed, int random) { if (random) return 1664525*seed + 1013904223; diff --git a/software/bios/sdram.h b/software/bios/sdram.h index af20e31f..c5d0984f 100644 --- a/software/bios/sdram.h +++ b/software/bios/sdram.h @@ -17,7 +17,6 @@ void sdrwloff(void); int sdrlevel(void); #endif -unsigned int seed_to_data(unsigned int seed, int random); int memtest_silent(void); int memtest(void); int sdrinit(void);