[U-Boot] [PATCH v3 5/7] boot: change some arch ifdefs to feature ifdefs
Wolfgang Denk
wd at denx.de
Mon Oct 18 22:53:08 CEST 2010
Dear John Rigby,
In message <1286999857-13790-6-git-send-email-john.rigby at linaro.org> you wrote:
> 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 at linaro.org>
> ---
> README | 13 +++++++++++++
> arch/m68k/include/asm/config.h | 3 +++
> arch/powerpc/include/asm/config.h | 3 +++
> arch/sparc/include/asm/config.h | 1 +
> common/cmd_bootm.c | 4 ++--
> common/image.c | 10 ++++++----
> include/image.h | 9 ++++++---
> 7 files changed, 34 insertions(+), 9 deletions(-)
Applied to u-boot-arm, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There is a multi-legged creature crawling on your shoulder.
-- Spock, "A Taste of Armageddon", stardate 3193.9
More information about the U-Boot
mailing list