diff options
author | Tom Rini <trini@konsulko.com> | 2023-10-17 09:15:56 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-17 09:15:56 -0400 |
commit | e65b5d35c9116485366bb08138043d51220551da (patch) | |
tree | a7ff86d5ab6e831cb05c875ab9c1521c5405fe0f /cmd | |
parent | c41df16b27bbe37be861072d876f348748684737 (diff) | |
parent | 4e65545f7a35430710ce95bdddf9d683f7a3f72a (diff) | |
download | u-boot-e65b5d35c9116485366bb08138043d51220551da.tar.gz u-boot-e65b5d35c9116485366bb08138043d51220551da.tar.bz2 u-boot-e65b5d35c9116485366bb08138043d51220551da.zip |
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.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/gpio.c b/cmd/gpio.c index f4565982ec..dab6f7097a 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) |