aboutsummaryrefslogtreecommitdiff
path: root/board/atmel/common/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/atmel/common/board.c')
-rw-r--r--board/atmel/common/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/common/board.c b/board/atmel/common/board.c
index eee5c357bdc..c93c0e52e30 100644
--- a/board/atmel/common/board.c
+++ b/board/atmel/common/board.c
@@ -47,7 +47,7 @@ void at91_pda_detect(void)
break;
}
}
- pda = simple_strtoul((const char *)buf, NULL, 10);
+ pda = dectoul((const char *)buf, NULL);
switch (pda) {
case 7000: