diff options
author | Tom Rini | 2023-04-07 15:55:50 -0400 |
---|---|---|
committer | Tom Rini | 2023-04-07 15:55:50 -0400 |
commit | 965f74b5b3602fe681421bda5676c7300ee3975e (patch) | |
tree | b8b001d60dbeea07ad4fdda6950aa73a3114d2e9 /drivers/gpio/sh_pfc.c | |
parent | 19d0c64f89ee5a0d5d3077e5d7ec7dafd74a0d45 (diff) | |
parent | 36b63c92c3ffb5a8673f58e2111f3ee3273e6952 (diff) |
Merge branch 'master_sh/gen4/initial' of https://source.denx.de/u-boot/custodians/u-boot-sh
- Initial R-Car Generation 4 support
Diffstat (limited to 'drivers/gpio/sh_pfc.c')
-rw-r--r-- | drivers/gpio/sh_pfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/sh_pfc.c b/drivers/gpio/sh_pfc.c index 92522b63bbe..2495d6c1c15 100644 --- a/drivers/gpio/sh_pfc.c +++ b/drivers/gpio/sh_pfc.c @@ -569,7 +569,7 @@ static int sh_gpio_get_value(struct pinmux_info *gpioc, unsigned gpio) if (!gpioc || get_data_reg(gpioc, gpio, &dr, &bit) != 0) return -1; - if (IS_ENABLED(CONFIG_RCAR_GEN3) && + if (IS_ENABLED(CONFIG_RCAR_64) && ((gpioc->gpios[gpio].flags & PINMUX_FLAG_TYPE) == PINMUX_TYPE_INPUT)) offset += 4; |