Use 'unsigned int' instead of 'unsigned'.

Make udelay() use 'unsigned int' instead of 'int'.

Fix interface of log2(), the current implementation takes an
'unsigned int' and returns an 'int'.

Purely cosmetic fix in the license header (consistency reasons).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@231 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Uwe Hermann 2007-03-09 16:02:58 +00:00
commit 2df5e3a407
3 changed files with 10 additions and 10 deletions

View file

@ -20,14 +20,14 @@
#include <lib.h>
void mdelay(unsigned msecs)
void mdelay(unsigned int msecs)
{
unsigned int i;
for (i = 0; i < msecs; i++) {
udelay(1000);
}
}
void delay(unsigned secs)
void delay(unsigned int secs)
{
unsigned int i;
for (i = 0; i < secs; i++) {