riscv: asm update for building ubifs
Ben Dooks
ben.dooks at codethink.co.uk
Thu May 25 13:01:59 CEST 2023
On 05/05/2023 09:02, 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.
Has anyone had a chance to review these for merging?
I may be losing the ben.dooks at sifive.com address soon,
so please cc ben.dooks at codethink.co.uk in further discussions
> Ben Dooks (3):
> riscv: add generic link for <asm/atomic.h>
> riscv: implement local_irq_{save,restore} macros
> riscv: define test_and_{set,clear}_bit in asm/bitops.h
>
> arch/riscv/include/asm/atomic.h | 14 ++++++++++++++
> arch/riscv/include/asm/bitops.h | 3 +++
> arch/riscv/include/asm/system.h | 15 +++++++++++----
> 3 files changed, 28 insertions(+), 4 deletions(-)
> create mode 100644 arch/riscv/include/asm/atomic.h
>
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
https://www.codethink.co.uk/privacy.html
More information about the U-Boot
mailing list