mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 21:24:21 +08:00
gpio: 74x164: make oe-pins optional
Make oe-pins optional because some boards have fixed it to enable. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Simon Glass <sjg@chromium.org> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
41eb8ff5ea
commit
aab203eb2e
@ -156,8 +156,7 @@ static int gen_74x164_probe(struct udevice *dev)
|
||||
ret = gpio_request_by_name(dev, "oe-gpios", 0, &priv->oe,
|
||||
GPIOD_IS_OUT | GPIOD_IS_OUT_ACTIVE);
|
||||
if (ret) {
|
||||
dev_err(dev, "No oe-pins property\n");
|
||||
goto free_buf;
|
||||
dev_dbg(dev, "No oe-pins property\n");
|
||||
}
|
||||
|
||||
uc_priv->bank_name = str;
|
||||
|
Loading…
Reference in New Issue
Block a user