[PATCH 1/2] armv8/cache.S: Read sysreg fields through ubfx

Tom Rini trini at konsulko.com
Fri Sep 24 04:41:09 CEST 2021


On Fri, Aug 27, 2021 at 06:03:45PM +0200, Pierre-Clément Tosi wrote:

> Improve the file's readability and conciseness by using the appropriate
> Aarch64 instruction: ubfx (unsigned bitfield extract). This makes the
> code easier to follow as it directly manipulates the offsets and widths
> of the fields read from system registers, as they are expressed in the
> Standard (ARM ARM). This has the added benefit (albeit arguably
> negligible) of reducing the final code size.
> 
> Signed-off-by: Pierre-Clément Tosi <ptosi at google.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210923/c676c39c/attachment.sig>


More information about the U-Boot mailing list