ARM: 5880/1: arm: use generic infrastructure for early params
authorJeremy Kerr <jeremy.kerr@canonical.com>
Mon, 11 Jan 2010 22:17:34 +0000 (23:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 15 Feb 2010 21:39:13 +0000 (21:39 +0000)
commit2b0d8c251b8876d530a6bf671eb5425838fa698a
treef8b85d4ee0f76be6a45738452e91fbbb94602b4c
parente119bfff1f102f8d1505910cd6c09df55c776b43
ARM: 5880/1: arm: use generic infrastructure for early params

The ARM setup code includes its own parser for early params, there's
also one in the generic init code.

This patch removes __early_init (and related code) from
arch/arm/kernel/setup.c, and changes users to the generic early_init
macro instead.

The generic macro takes a char * argument, rather than char **, so we
need to update the parser functions a little.

Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/setup.h
arch/arm/kernel/setup.c
arch/arm/kernel/vmlinux.lds.S
arch/arm/mach-footbridge/common.c
arch/arm/mm/init.c
arch/arm/mm/mmu.c