[PATCH 1/3] fixup! Add support for metadata in barebox images
Antony Pavlov
antonynpavlov at gmail.com
Fri Aug 1 22:43:21 PDT 2014
---
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
More information about the barebox
mailing list