]> git.baikalelectronics.ru Git - uboot.git/commit
spi: Add support for SPL_OF_PLATDATA to mxs_gpio.c driver
authorLukasz Majewski <lukma@denx.de>
Thu, 5 Sep 2019 07:55:01 +0000 (09:55 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:36 +0000 (16:36 +0200)
commitf7849d89906978262c5d826b168b2ebe87af6649
tree0562dc4665be61027161c5aea36da028e8b8b175
parent16017adbf58c13f138079dd29bf48a7fd3f3a376
spi: Add support for SPL_OF_PLATDATA to mxs_gpio.c driver

After this patch the mxs_gpio.c DM/DTS driver can be used at early SPL to
read states of gpio pins (and for example alter the boot flow).

It was necessary to adjust its name to 'fsl_imx_2{38}_gpio' to match
requirements for SPL_OF_PLATDATA usage.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
drivers/gpio/mxs_gpio.c