From: Wolfgang Denk Date: Mon, 18 Oct 2010 22:53:08 +0200 Subject: [U-Boot] [PATCH v3 5/7] boot: change some arch ifdefs to feature ifdefs In-Reply-To: <1286999857-13790-6-git-send-email-john.rigby@linaro.org> References: <1285775292-15060-1-git-send-email-john.rigby@linaro.org> <1286999857-13790-6-git-send-email-john.rigby@linaro.org> Message-ID: <20101018205308.4D48D1359B3@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear John Rigby, In message <1286999857-13790-6-git-send-email-john.rigby@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_ 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 > --- > 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