gpio: Add a GPIO config
authorSimon Glass <sjg@chromium.org>
Sun, 8 Aug 2021 18:20:24 +0000 (12:20 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 4 Sep 2021 16:26:02 +0000 (12:26 -0400)
commitb2f9bac0e703631b12f1e40c1a8b15345923a29a
tree798e90b42511d476d27569884a2f4ed2901e60c7
parent80a4876c86bbf4c05ebe387d0cfa6236d444ebd9
gpio: Add a GPIO config

At present we have SPL_GPIO and TPL_GPIO but not piain GPIO. This
works because there is a special build rule in Makefile that always
includes the drivers/gpio directory.

It is better to have all driver directories included by drivers/Makefile
and there is already a rule in there for this purpose. It just needs a
Kconfig for U-Boot proper, so add one.

Enable the option always for now, since this mimics current behaviour.
This can be updated once DM_GPIO is used everywhere.

Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile
drivers/gpio/Kconfig