aboutsummaryrefslogtreecommitdiff
path: root/include/rtc.h
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2020-06-09 20:29:50 -0700
committerHeiko Schocher <hs@denx.de>2020-07-09 06:02:44 +0200
commit35d3982e23d3449d93bcc4f1990e929998d69936 (patch)
treec7114bbc097940eb7aec3fc5a2ef78350c143130 /include/rtc.h
parent44ad59e695e6c7fd87e9f1a8590f746090d3afe4 (diff)
downloadu-boot-35d3982e23d3449d93bcc4f1990e929998d69936.zip
u-boot-35d3982e23d3449d93bcc4f1990e929998d69936.tar.gz
u-boot-35d3982e23d3449d93bcc4f1990e929998d69936.tar.bz2
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/rtc.h')
0 files changed, 0 insertions, 0 deletions