[RFC 06/15] intiial header work

Ben Dooks
2024-12-20T15:58:22Z

---
arch/riscv/include/asm/image.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/riscv/include/asm/image.h b/arch/riscv/include/asm/image.h
index e0b319af3681..21ffe80aa397 100644
--- a/arch/riscv/include/asm/image.h
+++ b/arch/riscv/include/asm/image.h
@@ -13,7 +13,8 @@
#define RISCV_IMAGE_FLAG_BE 1

#ifdef CONFIG_CPU_BIG_ENDIAN
-#error conversion of header fields to LE not yet implemented
+//#error conversion of header fields to LE not yet implemented
+#define __HEAD_FLAG_BE RISCV_IMAGE_FLAG_BE
#else
#define __HEAD_FLAG_BE RISCV_IMAGE_FLAG_LE
#endif