[U-Boot] [PATCH v3 2/9] sunxi: pmic_bus: Decrease boot time by not writing duplicate data

Maxime Ripard maxime.ripard at bootlin.com
Thu Nov 22 08:21:11 UTC 2018


On Wed, Nov 21, 2018 at 08:05:26PM +0200, Priit Laes wrote:
> From: Olliver Schinagl <oliver at schinagl.nl>
> 
> 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 at schinagl.nl>
> Signed-off-by: Priit Laes <plaes at plaes.org>

Acked-by: Maxime Ripard <maxime.ripard at bootlin.com>

Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181122/0f41bf05/attachment.sig>


More information about the U-Boot mailing list