Fix build errors with debugging enabled

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@512 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2009-07-20 06:52:23 +00:00
parent dfb87d8446
commit 12fda803f3
2 changed files with 3 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ static int obp_proplen(int node, const char *name)
}
#ifdef CONFIG_DEBUG_OBP
static int looks_like_string(char *str, int len)
static int looks_like_string(const char *str, int len)
{
int i;
int ret = (str[len-1] == '\0');

View File

@@ -139,8 +139,8 @@ do_command(esp_private_t *esp, sd_private_t *sd, int cmdlen, int replylen)
static int
ob_sd_read_sector(esp_private_t *esp, sd_private_t *sd, int offset)
{
DPRINTF("ob_sd_read_sector id %d %lx sector=%d\n",
sd->id, (unsigned long)dest, offset);
DPRINTF("ob_sd_read_sector id %d sector=%d\n",
sd->id, offset);
// Setup command = Read(10)
memset(esp->buffer, 0, 10);