--- 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