summaryrefslogtreecommitdiff
path: root/include/axp209.h
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2018-11-21 20:05:26 +0200
committerJagan Teki <jagan@amarulasolutions.com>2018-12-07 22:24:33 +0530
commitc970e8954f084b543d241fd96c0377988d8d4971 (patch)
tree7c3d032c79fabde59020fc1733da7a97f21a8b45 /include/axp209.h
parenta8011eb84dfac5187cebf00ed8bc981bdb5c1fa1 (diff)
downloadu-boot-c970e8954f084b543d241fd96c0377988d8d4971.tar.gz
sunxi: pmic_bus: Decrease boot time by not writing duplicate data
When we clear a pmic_bus bit, we do a read-modify-write operation. We waste some time however, by writing back the exact samea value that was already set in the chip. Let us thus only do the write in case data was changed. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Signed-off-by: Priit Laes <plaes@plaes.org> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'include/axp209.h')
0 files changed, 0 insertions, 0 deletions