aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini2023-10-17 09:15:56 -0400
committerTom Rini2023-10-17 09:15:56 -0400
commite65b5d35c9116485366bb08138043d51220551da (patch)
treea7ff86d5ab6e831cb05c875ab9c1521c5405fe0f /cmd
parentc41df16b27bbe37be861072d876f348748684737 (diff)
parent4e65545f7a35430710ce95bdddf9d683f7a3f72a (diff)
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.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gpio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/gpio.c b/cmd/gpio.c
index f4565982ecd..dab6f7097ae 100644
--- a/cmd/gpio.c
+++ b/cmd/gpio.c
@@ -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)