From: Maxime Ripard Date: Thu, 22 Nov 2018 09:21:11 +0100 Subject: [U-Boot] [PATCH v3 2/9] sunxi: pmic_bus: Decrease boot time by not writing duplicate data In-Reply-To: References: Message-ID: <20181122082111.jip7bbncm52iav2d@flea> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Nov 21, 2018 at 08:05:26PM +0200, Priit Laes wrote: > From: Olliver Schinagl > > 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 > Signed-off-by: Priit Laes Acked-by: Maxime Ripard 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: