[PATCH 1/3] fixup! Add support for metadata in barebox images

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

 



---
 common/imd-barebox.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/imd-barebox.c b/common/imd-barebox.c
index 7122740..e9cd37d 100644
--- a/common/imd-barebox.c
+++ b/common/imd-barebox.c
@@ -13,12 +13,12 @@ void imd_used(const void *used)
 
 struct imd_header imd_start_header
 __BAREBOX_IMD_SECTION(.barebox_imd_start) = {
-	.type = IMD_TYPE_START,
+	.type = cpu_to_le32(IMD_TYPE_START),
 };
 
 struct imd_header imd_end_header
 __BAREBOX_IMD_SECTION(.barebox_imd_end) = {
-	.type = IMD_TYPE_END,
+	.type = cpu_to_le32(IMD_TYPE_END),
 };
 
 BAREBOX_IMD_TAG_STRING(imd_build_tag, IMD_TYPE_BUILD, UTS_VERSION, 1);
-- 
2.0.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