mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh
- RZ/G2L part 1, except for two serial port patches which I had to drop as they broke R2Dplus, they will come later via subsequent PR.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#endif
|
||||
#include <asm/gpio.h>
|
||||
#include <linux/err.h>
|
||||
#include <dm/device_compat.h>
|
||||
|
||||
__weak int name_to_gpio(const char *name)
|
||||
{
|
||||
@@ -69,7 +70,8 @@ static void gpio_get_description(struct udevice *dev, const char *bank_name,
|
||||
printf("%s\n", buf);
|
||||
return;
|
||||
err:
|
||||
printf("Error %d\n", ret);
|
||||
if (ret != -ENOENT)
|
||||
printf("Error %d\n", ret);
|
||||
}
|
||||
|
||||
static int do_gpio_status(bool all, const char *gpio_name)
|
||||
|
||||
Reference in New Issue
Block a user