Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223333
b: refs/heads/master
c: 690ca2c
h: refs/heads/master
i:
  223331: 414b4ac
v: v3
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Dec 16, 2010
1 parent f0072b9 commit c5ac105
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec79812580e360081b58c3e2e8b5b69b8080b5a0
refs/heads/master: 690ca2ce0c824e8d3da7b2e273c2c873ab96d1e6
5 changes: 2 additions & 3 deletions trunk/arch/mips/alchemy/devboards/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,9 @@ void __init prom_init(void)

prom_init_cmdline();
memsize_str = prom_getenv("memsize");
if (!memsize_str)
if (!memsize_str || strict_strtoul(memsize_str, 0, &memsize))
memsize = ALCHEMY_BOARD_DEFAULT_MEMSIZE;
else
strict_strtoul(memsize_str, 0, &memsize);

add_memory_region(0, memsize, BOOT_MEM_RAM);
}

Expand Down

0 comments on commit c5ac105

Please sign in to comment.