riscv: asm update for building ubifs

Conor Dooley conor.dooley at microchip.com
Thu May 11 13:56:07 CEST 2023

Hey Ben,

On Fri, May 05, 2023 at 09:02:04AM +0100, Ben Dooks wrote:
> Fix misisng atomic and test_and_{set,clear}_bit macros to allow
> the ubi/ubifs code to be built for riscv. These are fairly simple
> but are not being used outside of ubifs on our builds.

We've been running something a fair hackier & probably should have
already sent something by now :/ What you have here is either the
same as what we have, or an improvement:

Reviewed-by: Conor Dooley <conor.dooley at microchip.com>

Thanks for doing this.

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

More information about the U-Boot mailing list