summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2020-06-10 06:29:50 +0300
committerHeiko Schocher <hs@denx.de>2020-07-09 07:02:44 +0300
commit35d3982e23d3449d93bcc4f1990e929998d69936 (patch)
treec7114bbc097940eb7aec3fc5a2ef78350c143130 /include
parent44ad59e695e6c7fd87e9f1a8590f746090d3afe4 (diff)
downloadu-boot-35d3982e23d3449d93bcc4f1990e929998d69936.tar.xz
i2c: imx_lpi2c: Improve the codes to use private data
Current driver calls the devfdt_get_addr to get the base address of lpi2c controller in each sub-functions. Since the devfdt_get_addr accesses the DTB and translate the address, it introduces much overhead. Improve the codes to use private variable which has recorded the base address from probe. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions