Look at attached files. These files are available in u-boot source folder for the T1040RDB board. Draw attention that the t104xrdb.c uses the immap_85xx.h.
Use GPIO register from this file.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------