diff options
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | 2018-11-02 11:54:50 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-11-29 12:45:15 +0100 |
commit | 89f1fe5bd47d76a69e71d21d525ccbc1926e5696 (patch) | |
tree | 23f6093f910c394671c7a6727b67ec216a587bea /cmd/pxe.c | |
parent | dd8ee8ea2a778a2ba85f6da42fa89464ba1d911c (diff) |
gpio: dwapb_gpio: fix binding without bank-name property
As a preparation for merging the socfpga gen5 devicetree files
from Linux, this patch makes the dwapb gpio driver work correctly
without the 'bank-name' property on the gpio-controller nodes.
This property is not present in the Linux drivers and thus is not
present in the Linux devicetrees. It is only used to access pins
via bank name.
This fallback is necessary since without it, the driver will
return an error code which will lead to an error in U-Boot
startup.
The bank names will still be added to the default board device
trees in follow-up patch, but other boards using this driver and
not including the bank name should also work with the socfpga.dtsi
without adding the bank-name property.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'cmd/pxe.c')
0 files changed, 0 insertions, 0 deletions