Skip to content

Commit

Permalink
Merge master.kernel.org:/home/rmk/linux-2.6-arm
Browse files Browse the repository at this point in the history
  • Loading branch information
Linus Torvalds committed Nov 17, 2005
2 parents fbf0e13 + 5470dc6 commit d0fa7e9
Show file tree
Hide file tree
Showing 34 changed files with 163 additions and 99 deletions.
30 changes: 11 additions & 19 deletions arch/arm/boot/compressed/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -19,38 +19,28 @@
*/
#ifdef DEBUG

#include <asm/arch/debug-macro.S>

#if defined(CONFIG_DEBUG_ICEDCC)
.macro loadsp, rb
.endm
.macro writeb, ch, rb
.macro writeb, ch, rb
mcr p14, 0, \ch, c0, c1, 0
.endm
#else

#include <asm/arch/debug-macro.S>

.macro writeb, ch, rb
senduart \ch, \rb
.endm

#if defined(CONFIG_FOOTBRIDGE) || \
defined(CONFIG_ARCH_RPC) || \
defined(CONFIG_ARCH_INTEGRATOR) || \
defined(CONFIG_ARCH_PXA) || \
defined(CONFIG_ARCH_IXP4XX) || \
defined(CONFIG_ARCH_IXP2000) || \
defined(CONFIG_ARCH_LH7A40X) || \
defined(CONFIG_ARCH_OMAP)
.macro loadsp, rb
addruart \rb
.endm
#elif defined(CONFIG_ARCH_SA1100)
#if defined(CONFIG_ARCH_SA1100)
.macro loadsp, rb
mov \rb, #0x80000000 @ physical base address
# if defined(CONFIG_DEBUG_LL_SER3)
#ifdef CONFIG_DEBUG_LL_SER3
add \rb, \rb, #0x00050000 @ Ser3
# else
#else
add \rb, \rb, #0x00010000 @ Ser1
# endif
#endif
.endm
#elif defined(CONFIG_ARCH_IOP331)
.macro loadsp, rb
Expand All @@ -64,7 +54,9 @@
add \rb, \rb, #0x4000 * CONFIG_S3C2410_LOWLEVEL_UART_PORT
.endm
#else
#error no serial architecture defined
.macro loadsp, rb
addruart \rb
.endm
#endif
#endif
#endif
Expand Down
12 changes: 12 additions & 0 deletions arch/arm/common/sa1111.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/mach/irq.h>
#include <asm/sizes.h>

#include <asm/hardware/sa1111.h>

Expand Down Expand Up @@ -132,6 +133,17 @@ static struct sa1111_dev_info sa1111_devices[] = {
},
};

void __init sa1111_adjust_zones(int node, unsigned long *size, unsigned long *holes)
{
unsigned int sz = SZ_1M >> PAGE_SHIFT;

if (node != 0)
sz = 0;

size[1] = size[0] - sz;
size[0] = sz;
}

/*
* SA1111 interrupt support. Since clearing an IRQ while there are
* active IRQs causes the interrupt output to pulse, the upper levels
Expand Down
Loading

0 comments on commit d0fa7e9

Please sign in to comment.