diff options
author | Ye Li <ye.li@nxp.com> | 2020-06-09 20:29:51 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-07-16 11:19:57 +0200 |
commit | 6103e570cdd0d0e854b071ee17b14589356a82bd (patch) | |
tree | af6849c671bd59a66ca996ffc624d66ea2b3c80b /post | |
parent | dfbdaa66b7fbc60efb48e228733f7e98b3e6fed5 (diff) | |
download | u-boot-6103e570cdd0d0e854b071ee17b14589356a82bd.tar.gz u-boot-6103e570cdd0d0e854b071ee17b14589356a82bd.tar.bz2 u-boot-6103e570cdd0d0e854b071ee17b14589356a82bd.zip |
gpio: mxc_gpio: Improve to use ofdata_to_platdata
Current mxc_gpio DM driver allocates the platdata in bind function to
handle both OF_CONTROL enabled case and disabled case. This implementation
puts the devfdt_get_addr in bind, which introduces much overhead especially
in board_f phase.
Change the driver to a common way for handling the cases by using
ofdata_to_platdata and using DM framework to allocate platdata.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'post')
0 files changed, 0 insertions, 0 deletions