[PATCH] bootm: add RISC-V image type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux