Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36714
b: refs/heads/master
c: 08c7995
h: refs/heads/master
v: v3
  • Loading branch information
Rudolf Marek authored and Greg Kroah-Hartman committed Sep 28, 2006
1 parent 25797a2 commit cc2776f
Show file tree
Hide file tree
Showing 307 changed files with 10,311 additions and 11,250 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6174d0fd35f486f59b743630bdf088a9f9792d4d
refs/heads/master: 08c79950a047dbaccf05d70a203db2ee75ac3bd8
50 changes: 12 additions & 38 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ config ARM
Europe. There is an ARM Linux project with a web page at
<http://www.arm.linux.org.uk/>.

config GENERIC_TIME
bool
default n

config MMU
bool
default y
Expand Down Expand Up @@ -55,10 +51,6 @@ config GENERIC_HARDIRQS
bool
default y

config TRACE_IRQFLAGS_SUPPORT
bool
default y

config HARDIRQS_SW_RESEND
bool
default y
Expand Down Expand Up @@ -99,7 +91,7 @@ config ARCH_MTD_XIP

config VECTORS_BASE
hex
default 0xffff0000 if MMU || CPU_HIGH_VECTOR
default 0xffff0000 if MMU
default DRAM_BASE if REMAP_VECTORS_TO_RAM
default 0x00000000
help
Expand Down Expand Up @@ -206,27 +198,16 @@ config ARCH_IMX
help
Support for Motorola's i.MX family of processors (MX1, MXL).

config ARCH_IOP32X
bool "IOP32x-based"
depends on MMU
select PLAT_IOP
select PCI
help
Support for Intel's 80219 and IOP32X (XScale) family of
processors.

config ARCH_IOP33X
bool "IOP33x-based"
config ARCH_IOP3XX
bool "IOP3xx-based"
depends on MMU
select PLAT_IOP
select PCI
help
Support for Intel's IOP33X (XScale) family of processors.
Support for Intel's IOP3XX (XScale) family of processors.

config ARCH_IXP4XX
bool "IXP4xx-based"
depends on MMU
select GENERIC_TIME
help
Support for Intel's IXP4XX (XScale) family of processors.

Expand Down Expand Up @@ -327,9 +308,7 @@ source "arch/arm/mach-footbridge/Kconfig"

source "arch/arm/mach-integrator/Kconfig"

source "arch/arm/mach-iop32x/Kconfig"

source "arch/arm/mach-iop33x/Kconfig"
source "arch/arm/mach-iop3xx/Kconfig"

source "arch/arm/mach-ixp4xx/Kconfig"

Expand Down Expand Up @@ -369,9 +348,6 @@ source "arch/arm/mach-netx/Kconfig"
config ARCH_ACORN
bool

config PLAT_IOP
bool

source arch/arm/mm/Kconfig

# bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
Expand Down Expand Up @@ -626,7 +602,6 @@ config LEDS_CPU

config ALIGNMENT_TRAP
bool
depends on CPU_CP15_MMU
default y if !ARCH_EBSA110
help
ARM processors can not fetch/store information which is not
Expand Down Expand Up @@ -658,12 +633,11 @@ config ZBOOT_ROM_BSS
hex "Compressed ROM boot loader BSS address"
default "0"
help
The base address of an area of read/write memory in the target
for the ROM-able zImage which must be available while the
decompressor is running. It must be large enough to hold the
entire decompressed kernel plus an additional 128 KiB.
Platforms which normally make use of ROM-able zImage formats
normally set this to a suitable value in their defconfig file.
The base address of 64KiB of read/write memory in the target
for the ROM-able zImage, which must be available while the
decompressor is running. Platforms which normally make use of
ROM-able zImage formats normally set this to a suitable
value in their defconfig file.

If ZBOOT_ROM is not enabled, this has no effect.

Expand Down Expand Up @@ -858,7 +832,7 @@ source "drivers/base/Kconfig"

source "drivers/connector/Kconfig"

if ALIGNMENT_TRAP || !CPU_CP15_MMU
if ALIGNMENT_TRAP
source "drivers/mtd/Kconfig"
endif

Expand All @@ -870,7 +844,7 @@ source "drivers/block/Kconfig"

source "drivers/acorn/block/Kconfig"

if PCMCIA || ARCH_CLPS7500 || ARCH_IOP32X || ARCH_IOP33X || ARCH_IXP4XX \
if PCMCIA || ARCH_CLPS7500 || ARCH_IOP3XX || ARCH_IXP4XX \
|| ARCH_L7200 || ARCH_LH7A40X || ARCH_PXA || ARCH_RPC \
|| ARCH_S3C2410 || ARCH_SA1100 || ARCH_SHARK || FOOTBRIDGE \
|| ARCH_IXP23XX
Expand Down
8 changes: 0 additions & 8 deletions trunk/arch/arm/Kconfig-nommu
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ config FLASH_SIZE
hex 'FLASH Size' if SET_MEM_PARAM
default 0x00400000

config PROCESSOR_ID
hex
default 0x00007700
depends on !CPU_CP15
help
If processor has no CP15 register, this processor ID is
used instead of the auto-probing which utilizes the register.

config REMAP_VECTORS_TO_RAM
bool 'Install vectors to the begining of RAM' if DRAM_BASE
depends on DRAM_BASE
Expand Down
9 changes: 1 addition & 8 deletions trunk/arch/arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,7 @@ arch-$(CONFIG_CPU_32v3) :=-D__LINUX_ARM_ARCH__=3 -march=armv3
# This selects how we optimise for the processor.
tune-$(CONFIG_CPU_ARM610) :=-mtune=arm610
tune-$(CONFIG_CPU_ARM710) :=-mtune=arm710
tune-$(CONFIG_CPU_ARM7TDMI) :=-mtune=arm7tdmi
tune-$(CONFIG_CPU_ARM720T) :=-mtune=arm7tdmi
tune-$(CONFIG_CPU_ARM740T) :=-mtune=arm7tdmi
tune-$(CONFIG_CPU_ARM9TDMI) :=-mtune=arm9tdmi
tune-$(CONFIG_CPU_ARM940T) :=-mtune=arm9tdmi
tune-$(CONFIG_CPU_ARM946T) :=$(call cc-option,-mtune=arm9e,-mtune=arm9tdmi)
tune-$(CONFIG_CPU_ARM920T) :=-mtune=arm9tdmi
tune-$(CONFIG_CPU_ARM922T) :=-mtune=arm9tdmi
tune-$(CONFIG_CPU_ARM925T) :=-mtune=arm9tdmi
Expand Down Expand Up @@ -106,8 +101,7 @@ endif
machine-$(CONFIG_ARCH_INTEGRATOR) := integrator
textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000
machine-$(CONFIG_ARCH_CLPS711X) := clps711x
machine-$(CONFIG_ARCH_IOP32X) := iop32x
machine-$(CONFIG_ARCH_IOP33X) := iop33x
machine-$(CONFIG_ARCH_IOP3XX) := iop3xx
machine-$(CONFIG_ARCH_IXP4XX) := ixp4xx
machine-$(CONFIG_ARCH_IXP2000) := ixp2000
machine-$(CONFIG_ARCH_IXP23XX) := ixp23xx
Expand Down Expand Up @@ -163,7 +157,6 @@ core-$(CONFIG_FPE_FASTFPE) += $(FASTFPE_OBJ)
core-$(CONFIG_VFP) += arch/arm/vfp/

# If we have a common platform directory, then include it in the build.
core-$(CONFIG_PLAT_IOP) += arch/arm/plat-iop/
core-$(CONFIG_ARCH_OMAP) += arch/arm/plat-omap/

drivers-$(CONFIG_OPROFILE) += arch/arm/oprofile/
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/arm/boot/compressed/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ OBJS += head-at91rm9200.o
endif

ifeq ($(CONFIG_CPU_BIG_ENDIAN),y)
ifeq ($(CONFIG_CPU_CP15),y)
OBJS += big-endian.o
else
# The endian should be set by h/w design.
endif
endif

#
Expand Down
22 changes: 6 additions & 16 deletions trunk/arch/arm/boot/compressed/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,11 @@
#ifdef DEBUG

#if defined(CONFIG_DEBUG_ICEDCC)

#ifdef CONFIG_CPU_V6
.macro loadsp, rb
.endm
.macro writeb, ch, rb
mcr p14, 0, \ch, c0, c5, 0
.endm
#else
.macro loadsp, rb
.endm
.macro writeb, ch, rb
mcr p14, 0, \ch, c0, c1, 0
.endm
#endif

#else

#include <asm/arch/debug-macro.S>
Expand All @@ -52,6 +42,12 @@
add \rb, \rb, #0x00010000 @ Ser1
#endif
.endm
#elif defined(CONFIG_ARCH_IOP331)
.macro loadsp, rb
mov \rb, #0xff000000
orr \rb, \rb, #0x00ff0000
orr \rb, \rb, #0x0000f700 @ location of the UART
.endm
#elif defined(CONFIG_ARCH_S3C2410)
.macro loadsp, rb
mov \rb, #0x50000000
Expand Down Expand Up @@ -82,11 +78,9 @@
kphex r6, 8 /* processor id */
kputc #':'
kphex r7, 8 /* architecture id */
#ifdef CONFIG_CPU_CP15
kputc #':'
mrc p15, 0, r0, c1, c0
kphex r0, 8 /* control reg */
#endif
kputc #'\n'
kphex r5, 8 /* decompressed kernel start */
kputc #'-'
Expand Down Expand Up @@ -509,11 +503,7 @@ call_kernel: bl cache_clean_flush
*/

call_cache_fn: adr r12, proc_types
#ifdef CONFIG_CPU_CP15
mrc p15, 0, r6, c0, c0 @ get processor ID
#else
ldr r6, =CONFIG_PROCESSOR_ID
#endif
1: ldr r1, [r12, #0] @ get value
ldr r2, [r12, #4] @ get mask
eor r1, r1, r6 @ (real ^ match)
Expand Down
21 changes: 0 additions & 21 deletions trunk/arch/arm/boot/compressed/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,6 @@ static void putstr(const char *ptr);
#include <asm/arch/uncompress.h>

#ifdef CONFIG_DEBUG_ICEDCC

#ifdef CONFIG_CPU_V6

static void icedcc_putc(int ch)
{
int status, i = 0x4000000;

do {
if (--i < 0)
return;

asm volatile ("mrc p14, 0, %0, c0, c1, 0" : "=r" (status));
} while (status & (1 << 29));

asm("mcr p14, 0, %0, c0, c5, 0" : : "r" (ch));
}

#else

static void icedcc_putc(int ch)
{
int status, i = 0x4000000;
Expand All @@ -63,8 +44,6 @@ static void icedcc_putc(int ch)
asm("mcr p14, 0, %0, c1, c0, 0" : : "r" (ch));
}

#endif

#define putc(ch) icedcc_putc(ch)
#define flush() do { } while (0)
#endif
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/arm/common/icst307.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ icst307_khz_to_vco(const struct icst307_params *p, unsigned long freq)
break;
} while (i < ARRAY_SIZE(idx2s));

if (i >= ARRAY_SIZE(idx2s))
if (i > ARRAY_SIZE(idx2s))
return vco;

vco.s = idx2s[i];
Expand Down Expand Up @@ -119,7 +119,7 @@ icst307_ps_to_vco(const struct icst307_params *p, unsigned long period)
break;
} while (i < ARRAY_SIZE(idx2s));

if (i >= ARRAY_SIZE(idx2s))
if (i > ARRAY_SIZE(idx2s))
return vco;

vco.s = idx2s[i];
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/arm/common/icst525.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ icst525_khz_to_vco(const struct icst525_params *p, unsigned long freq)
break;
} while (i < ARRAY_SIZE(idx2s));

if (i >= ARRAY_SIZE(idx2s))
if (i > ARRAY_SIZE(idx2s))
return vco;

vco.s = idx2s[i];
Expand Down Expand Up @@ -118,7 +118,7 @@ icst525_ps_to_vco(const struct icst525_params *p, unsigned long period)
break;
} while (i < ARRAY_SIZE(idx2s));

if (i >= ARRAY_SIZE(idx2s))
if (i > ARRAY_SIZE(idx2s))
return vco;

vco.s = idx2s[i];
Expand Down
Loading

0 comments on commit cc2776f

Please sign in to comment.