projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
global: Convert simple_strtoul() with decimal to dectoul()
[platform/kernel/u-boot.git]
/
board
/
samsung
/
common
/
exynos5-dt.c
diff --git
a/board/samsung/common/exynos5-dt.c
b/board/samsung/common/exynos5-dt.c
index
eef46b0
..
0d77a57
100644
(file)
--- a/
board/samsung/common/exynos5-dt.c
+++ b/
board/samsung/common/exynos5-dt.c
@@
-8,6
+8,8
@@
#include <dwc3-uboot.h>
#include <env.h>
#include <fdtdec.h>
#include <dwc3-uboot.h>
#include <env.h>
#include <fdtdec.h>
+#include <log.h>
+#include <asm/global_data.h>
#include <asm/io.h>
#include <errno.h>
#include <i2c.h>
#include <asm/io.h>
#include <errno.h>
#include <i2c.h>
@@
-124,7
+126,7
@@
static struct dwc3_device dwc3_device_data = {
.index = 0,
};
.index = 0,
};
-int usb_gadget_handle_interrupts(
void
)
+int usb_gadget_handle_interrupts(
int index
)
{
dwc3_uboot_handle_interrupt(0);
return 0;
{
dwc3_uboot_handle_interrupt(0);
return 0;
@@
-167,7
+169,7
@@
char *get_dfu_alt_boot(char *interface, char *devstr)
if (board_is_odroidxu4() || board_is_odroidhc1() || board_is_odroidhc2())
return info;
if (board_is_odroidxu4() || board_is_odroidhc1() || board_is_odroidhc2())
return info;
- dev_num =
simple_strtoul(devstr, NULL, 10
);
+ dev_num =
dectoul(devstr, NULL
);
mmc = find_mmc_device(dev_num);
if (!mmc)
mmc = find_mmc_device(dev_num);
if (!mmc)