aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/boot/compressed
AgeCommit message (Collapse)AuthorFilesLines
2009-07-11sh: bzip2/lzma zImage support.Paul Mundt6-13/+53
This plugs in bzip2 and lzma support for zImages. Signed-off-by: Paul Mundt <[email protected]>
2009-07-12sh: Tidy up gzip-based zImage decompression.Paul Mundt2-215/+18
This brings the zImage handling in to the current century, in preparation for handling the other compression types. Signed-off-by: Paul Mundt <[email protected]>
2009-07-11sh: Decouple mcount from ftrace.Paul Mundt1-1/+1
This adds a general CONFIG_MCOUNT in order to permit mcount generation without ftrace support. This is primarily for allowing platforms to enable aggressive stack overflow checking without having to enable ftrace support. Based on the sparc64 implementation. Signed-off-by: Paul Mundt <[email protected]>
2009-05-10sh: Merge the split arch/sh/boot/compressed/ Makefiles.Paul Mundt3-90/+47
This kills off the _64 variant and moves the _32 one over as the generic one to use. Signed-off-by: Paul Mundt <[email protected]>
2009-05-10sh: Provide a BITS definition, use it in the arch/sh/boot/ Makefiles.Paul Mundt2-7/+3
This introduces a BITS export that can handily be picked up by Makefiles for cleaner sharing. Reflect its use in arch/sh/boot/compressed/ in preparation for unifying the Makefiles. Signed-off-by: Paul Mundt <[email protected]>
2009-05-10sh: Fix up the sh64 zImage build.Paul Mundt3-70/+2
Signed-off-by: Paul Mundt <[email protected]>
2009-05-10sh: Tidy up the ldscript output format specifier.Paul Mundt2-3/+4
Tie this in to the Makefile directly, where we already know what we are running on. This tidies up the linker script a bit, and is prep work for unifying the arch/sh/boot/compressed linker scripts. Signed-off-by: Paul Mundt <[email protected]>
2008-10-31sh: FTRACE renamed to FUNCTION_TRACER.Paul Mundt1-1/+1
Signed-off-by: Paul Mundt <[email protected]>
2008-09-21sh: ftrace support.Paul Mundt1-0/+5
This adds support for ftrace to SH. This only includes CONFIG_FTRACE, and does not handle dynamic ftrace presently. Signed-off-by: Paul Mundt <[email protected]>
2008-09-08sh: fixup many sparse errors.Paul Mundt1-1/+1
Signed-off-by: Paul Mundt <[email protected]>
2008-07-29sh: migrate to arch/sh/include/Paul Mundt1-2/+2
This follows the sparc changes a439fe51a1f8eb087c22dd24d69cebae4a3addac. Most of the moving about was done with Sam's directions at: http://marc.info/?l=linux-sh&m=121724823706062&w=2 with subsequent hacking and fixups entirely my fault. Signed-off-by: Sam Ravnborg <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2008-07-28sh: Fix up link error on SH-2 zImage with older binutils.Yoshinori Sato4-15/+12
Signed-off-by: Yoshinori Sato <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2008-07-25inflate: refactor inflate malloc codeThomas Petazzoni2-78/+0
Inflate requires some dynamic memory allocation very early in the boot process and this is provided with a set of four functions: malloc/free/gzip_mark/gzip_release. The old inflate code used a mark/release strategy rather than implement free. This new version instead keeps a count on the number of outstanding allocations and when it hits zero, it resets the malloc arena. This allows removing all the mark and release implementations and unifying all the malloc/free implementations. The architecture-dependent code must define two addresses: - free_mem_ptr, the address of the beginning of the area in which allocations should be made - free_mem_end_ptr, the address of the end of the area in which allocations should be made. If set to 0, then no check is made on the number of allocations, it just grows as much as needed The architecture-dependent code can also provide an arch_decomp_wdog() function call. This function will be called several times during the decompression process, and allow to notify the watchdog that the system is still running. If an architecture provides such a call, then it must define ARCH_HAS_DECOMP_WDOG so that the generic inflate code calls arch_decomp_wdog(). Work initially done by Matt Mackall, updated to a recent version of the kernel and improved by me. [[email protected]: coding-style fixes] Signed-off-by: Thomas Petazzoni <[email protected]> Cc: Matt Mackall <[email protected]> Cc: Richard Henderson <[email protected]> Cc: Ivan Kokshaysky <[email protected]> Cc: Mikael Starvik <[email protected]> Cc: Jesper Nilsson <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Cc: David Howells <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Andi Kleen <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Acked-by: Paul Mundt <[email protected]> Acked-by: Yoshinori Sato <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-08sh: remove -traditional.Mathieu Desnoyers2-2/+0
Signed-off-by: Mathieu Desnoyers <[email protected]> CC: Sam Ravnborg <[email protected]> CC: [email protected] Signed-off-by: Paul Mundt <[email protected]>
2008-04-16sh: fix compressed kernel buildManuel Lauss2-2/+0
commit 54a015104136974262afa4b8ddd943ea70dec8a2 broke zImage build on sh arch: LD vmlinux SYSMAP System.map SYSMAP .tmp_System.map AS arch/sh/boot/compressed/head_32.o In file included from /k/arch/sh/boot/compressed/head_32.S:11: /k/include/linux/linkage.h:34: error: syntax error in macro parameter list Fix it for both sh and sh64. Signed-off-by: Manuel Lauss <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Clean up places that make 29-bit physical assumptions.Stuart Menefy1-1/+4
Signed-off-by: Stuart Menefy <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: comment tidying for sh64->sh migration.Paul Mundt2-6/+6
Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Merge the sh64 zImage bits.Paul Mundt9-42/+581
Signed-off-by: Paul Mundt <[email protected]>
2007-10-14kbuild: enable 'make CFLAGS=...' to add additional options to CCSam Ravnborg1-1/+1
The variable CFLAGS is a wellknown variable and the usage by kbuild may result in unexpected behaviour. On top of that several people over time has asked for a way to pass in additional flags to gcc. This patch replace use of CFLAGS with KBUILD_CFLAGS all over the tree and enabling one to use: make CFLAGS=... to specify additional gcc commandline options. One usecase is when trying to find gcc bugs but other use cases has been requested too. Patch was tested on following architectures: alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k Test was simple to do a defconfig build, apply the patch and check that nothing got rebuild. Signed-off-by: Sam Ravnborg <[email protected]>
2007-07-26sh: arch/sh/boot - fix shell usageDavid McCullough1-3/+4
Fix the shell call to explicitly use bash, since they are bash specific and not all systems have bash as the default. Signed-off-by: David McCullough <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2006-12-12sh: Fix .empty_zero_page alignment for PAGE_SIZE > 4096.Paul Mundt2-2/+4
Signed-off-by: Paul Mundt <[email protected]>
2006-12-12sh: Add uImage and S-rec generation support.Paul Mundt1-6/+0
Add a couple of new targets, both for uImage and S-rec generation. Signed-off-by: Paul Mundt <[email protected]>
2006-12-06sh: Add support for SH7206 and SH7619 CPU subtypes.Yoshinori Sato1-1/+2
This implements initial support for the SH7206 (SH-2A) and SH7619 (SH-2) MMU-less CPUs. Signed-off-by: Yoshinori Sato <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2006-09-27sh: __addr_ok() and other misc nommu fixups.Yoshinori Sato1-3/+3
A few more outstanding nommu fixups.. Signed-off-by: Yoshinori Sato <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2006-09-27sh: Various nommu fixes.Yoshinori Sato1-2/+8
This fixes up some of the various outstanding nommu bugs on SH. Signed-off-by: Yoshinori Sato <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2006-09-27sh: Make PAGE_OFFSET configurable.Paul Mundt1-1/+2
nommu needs to be able to shift PAGE_OFFSET, so we switch it to a non-user-visible CONFIG_PAGE_OFFSET and use that in the few places where it matters. Signed-off-by: Paul Mundt <[email protected]>
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel2-2/+0
Signed-off-by: Jörn Engel <[email protected]> Signed-off-by: Adrian Bunk <[email protected]>
2005-04-16Linux-2.6.12-rc2Linus Torvalds5-0/+466
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!