aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/alchemy/board-xxs1500.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/alchemy/board-xxs1500.c')
-rw-r--r--arch/mips/alchemy/board-xxs1500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/alchemy/board-xxs1500.c b/arch/mips/alchemy/board-xxs1500.c
index bd551365029..3fb814be0e9 100644
--- a/arch/mips/alchemy/board-xxs1500.c
+++ b/arch/mips/alchemy/board-xxs1500.c
@@ -49,7 +49,7 @@ void __init prom_init(void)
prom_init_cmdline();
memsize_str = prom_getenv("memsize");
- if (!memsize_str || strict_strtoul(memsize_str, 0, &memsize))
+ if (!memsize_str || kstrtoul(memsize_str, 0, &memsize))
memsize = 0x04000000;
add_memory_region(0, memsize, BOOT_MEM_RAM);