[U-Boot] [PATCH v2 4/6] boot: change some arch ifdefs to feature ifdefs

John Rigby john.rigby at linaro.org
Tue Oct 12 23:41:12 CEST 2010


On Tue, Oct 12, 2010 at 3:27 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear John Rigby,
>
> In message <1285775292-15060-5-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_<FEATURE> defines instead.
>>
>> CONFIG_BOOT_RAMDISK_HIGH
>> CONFIG_BOOT_GET_CMDLINE
>> CONFIG_BOOT_GET_KBD
>>
>> Define these as appropriate in arch/include/asm/config.h files.
>
> No. CONFIG_ means user coinfigurable options; these are not actually
> configurable on a per-board base by the end user, so CONFIG_SYS_
> should be used.
I will change these to CONFIG_SYS_ and document them in README.


More information about the U-Boot mailing list