boot: change some arch ifdefs to feature ifdefs
authorJohn Rigby <john.rigby@linaro.org>
Wed, 13 Oct 2010 19:57:35 +0000 (13:57 -0600)
committerWolfgang Denk <wd@denx.de>
Mon, 18 Oct 2010 20:53:32 +0000 (22:53 +0200)
commitfca43cc8018327cbe13e943932fbf75772275192
tree7411cf09b3e69c225f13ff877c1e88676604c281
parent5a75e121075a63f312ae07409477b6f686840a93
boot: change some arch ifdefs to feature ifdefs

The routines boot_ramdisk_high, boot_get_cmdline and boot_get_kbd
are currently enabled by various combinations of CONFIG_M68K,
CONFIG_POWERPC and CONFIG_SPARC.

Use CONFIG_SYS_BOOT_<FEATURE> defines instead.

CONFIG_SYS_BOOT_RAMDISK_HIGH
CONFIG_SYS_BOOT_GET_CMDLINE
CONFIG_SYS_BOOT_GET_KBD

Define these as appropriate in arch/include/asm/config.h files.

Signed-off-by: John Rigby <john.rigby@linaro.org>
Acked-by: Wolfgang Denk <wd@denx.de>
README
arch/m68k/include/asm/config.h
arch/powerpc/include/asm/config.h
arch/sparc/include/asm/config.h
common/cmd_bootm.c
common/image.c
include/image.h