[U-Boot-Users] [PATCH] cmd_mfsl: Don't include asm/asm.h on other architectures.
Wolfgang Denk
wd at denx.de
Wed May 16 21:19:56 CEST 2007
In message <20070516162427.GA10640 at ld0162-tx32.am.freescale.net> you wrote:
> This file currently breaks the build for any architecture
> other than microblaze due to the absence of asm/asm.h.
>
> Signed-off-by: Scott Wood <scottwood at freescale.com>
> ---
> common/cmd_mfsl.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/common/cmd_mfsl.c b/common/cmd_mfsl.c
> index 26786aa..ab74dba 100644
> --- a/common/cmd_mfsl.c
> +++ b/common/cmd_mfsl.c
> @@ -26,13 +26,13 @@
> * Microblaze FSL support
> */
>
> +#if (CONFIG_COMMANDS & CFG_CMD_MFSL)
> +
> #include <common.h>
> #include <config.h>
> #include <command.h>
> #include <asm/asm.h>
>
> -#if (CONFIG_COMMANDS & CFG_CMD_MFSL)
NACK. You cannot use these defines before including common.h
A fix for this bug was already checked in.
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
"Ja, mach' nur einen Plan, sei nur ein grosses Licht
und mach' dann noch 'nen zweiten Plan, geh'n tun sie beide nicht."
-- Bert Brecht, Dreigroschenoper
More information about the U-Boot
mailing list