linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 2/3] ARM: add a default mach/uncompress.h header
Date: Wed, 27 Jul 2011 22:32:13 -0500	[thread overview]
Message-ID: <1311823934-29553-3-git-send-email-robherring2@gmail.com> (raw)
In-Reply-To: <1311823934-29553-1-git-send-email-robherring2@gmail.com>

From: Rob Herring <rob.herring@calxeda.com>

Add default empty functions to allow platforms to use a default
uncompress.h header. This helps enable support of multi-platform kernels,
you lose serial output in the decompressor. Only a couple of platforms
need arch_decomp_setup and/or arch_decomp_wdog.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
---
 arch/arm/include/mach/uncompress.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/include/mach/uncompress.h

diff --git a/arch/arm/include/mach/uncompress.h b/arch/arm/include/mach/uncompress.h
new file mode 100644
index 0000000..9277c85
--- /dev/null
+++ b/arch/arm/include/mach/uncompress.h
@@ -0,0 +1,9 @@
+#ifndef __MACH_UNCOMPRESS_H
+#define __MACH_UNCOMPRESS_H
+
+static inline void putc(char) {}
+static inline void flush(void) {}
+static inline void arch_decomp_setup(void) {}
+static inline void arch_decomp_wdog(void) {}
+
+#endif
-- 
1.7.4.1

  parent reply	other threads:[~2011-07-28  3:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-28  3:32 [RFC PATCH 0/3] ARM: Add default system.h and uncompress.h Rob Herring
2011-07-28  3:32 ` [RFC PATCH 1/3] ARM: include mach headers before common arm headers Rob Herring
2011-07-28  3:32 ` Rob Herring [this message]
2011-07-28  3:32 ` [RFC PATCH 3/3] ARM: add a default mach/system.h header Rob Herring
2011-07-28  4:40 ` [RFC PATCH 0/3] ARM: Add default system.h and uncompress.h Nicolas Pitre
2011-07-28 13:53   ` Rob Herring
2011-07-28  9:52 ` Russell King - ARM Linux
2011-07-28 13:21   ` Rob Herring
2011-07-28 15:01     ` Russell King - ARM Linux

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=1311823934-29553-3-git-send-email-robherring2@gmail.com \
    --to=robherring2@gmail.com \
    --cc=linux-arm-kernel@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;
as well as URLs for NNTP newsgroup(s).