From 38d24b637ebda5dffb47191b3492456ca60ddf0f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 26 Mar 2015 23:05:20 +0100 Subject: [PATCH] software/bios/sdram: make seed_to_data static --- software/bios/sdram.c | 2 +- software/bios/sdram.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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); -- 2.30.2