mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH 1/3] fixup! Add support for metadata in barebox images
Date: Sat,  2 Aug 2014 09:43:21 +0400	[thread overview]
Message-ID: <1406958203-11984-2-git-send-email-antonynpavlov@gmail.com> (raw)
In-Reply-To: <1406958203-11984-1-git-send-email-antonynpavlov@gmail.com>

---
 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2014-08-02  5:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-02  5:43 [PATCH 0/3] MIPS: add support for metadata in pbl-enabled " Antony Pavlov
2014-08-02  5:43 ` Antony Pavlov [this message]
2014-08-02  5:43 ` [PATCH 2/3] MIPS: add support for metadata in " Antony Pavlov
2014-08-02  5:43 ` [PATCH 3/3] MIPS: qemu-malta_defconfig: enable metadata in barebox image (IMD) Antony Pavlov
2014-08-04 18:51 ` [PATCH 0/3] MIPS: add support for metadata in pbl-enabled barebox images Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1406958203-11984-2-git-send-email-antonynpavlov@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox