mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] bootm: add RISC-V image type
@ 2021-03-15  8:28 Antony Pavlov
  2021-03-15  9:23 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2021-03-15  8:28 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 include/image.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/image.h b/include/image.h
index fa06476845..b593ae30ef 100644
--- a/include/image.h
+++ b/include/image.h
@@ -129,6 +129,8 @@ enum {
 #define IH_ARCH IH_ARCH_AVR32
 #elif defined(CONFIG_SANDBOX)
 #define IH_ARCH IH_ARCH_SANDBOX
+#elif defined(__riscv)
+#define IH_ARCH IH_ARCH_RISCV
 #else
 #define IH_ARCH IH_ARCH_INVALID
 #endif
-- 
2.30.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


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

end of thread, other threads:[~2021-03-15  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15  8:28 [PATCH] bootm: add RISC-V image type Antony Pavlov
2021-03-15  9:23 ` Sascha Hauer

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