To whom it may concern,
We're using a custom board using the T2081, derived from the T2080RDB and the T1042RDB.
We find ourselves needing to use a GPIO during the u-boot phase.
To that end:
-What do we need to include in the build?
-What configurations and #define are needed?
-What custom code do we need to generate to fill in the gaps?
Thanks for your help,
Kyle
There is no GPIO driver in u-boot for QorIQ processors, but u-boot driver structure is relatively simple, so you can create your own GPIO driver using other GPIO drivers as reference. For example drivers please look /drivers/gpio/ folder in U-boot sources folder.
Use as example the mpc85xxx_gpio.c file.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------