mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
Merge git://git.denx.de/u-boot-dm
This commit is contained in:
commit
88033d737d
121 changed files with 1738 additions and 1022 deletions
|
@ -82,11 +82,9 @@ int notrace dm_timer_init(void)
|
|||
node = fdtdec_get_chosen_node(blob, "tick-timer");
|
||||
if (node < 0) {
|
||||
/* No chosen timer, trying first available timer */
|
||||
ret = uclass_first_device(UCLASS_TIMER, &dev);
|
||||
ret = uclass_first_device_err(UCLASS_TIMER, &dev);
|
||||
if (ret)
|
||||
return ret;
|
||||
if (!dev)
|
||||
return -ENODEV;
|
||||
} else {
|
||||
if (uclass_get_device_by_of_offset(UCLASS_TIMER, node, &dev)) {
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue