public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* riscv: asm update for building ubifs
@ 2023-05-05  8:02 Ben Dooks
  2023-05-05  8:02 ` [PATCH 1/3] riscv: add generic link for <asm/atomic.h> Ben Dooks
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Ben Dooks @ 2023-05-05  8:02 UTC (permalink / raw)
  To: u-boot; +Cc: Rick Chen, Leo, Ben Dooks

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.

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

-- 
2.39.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-06-23  9:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-05  8:02 riscv: asm update for building ubifs Ben Dooks
2023-05-05  8:02 ` [PATCH 1/3] riscv: add generic link for <asm/atomic.h> Ben Dooks
2023-06-12  7:31   ` Leo Liang
2023-05-05  8:02 ` [PATCH 2/3] riscv: implement local_irq_{save,restore} macros Ben Dooks
2023-06-12  7:47   ` Leo Liang
2023-06-23  9:57     ` Ben Dooks
2023-05-05  8:02 ` [PATCH 3/3] riscv: define test_and_{set,clear}_bit in asm/bitops.h Ben Dooks
2023-06-12  7:48   ` Leo Liang
2023-05-11 11:56 ` riscv: asm update for building ubifs Conor Dooley
2023-05-25 11:01 ` Ben Dooks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox