From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] at91: defined mach-types for meesc board in board config file
Date: Sat, 05 Nov 2011 12:13:56 +0100 [thread overview]
Message-ID: <4EB51A74.8050302@aribaud.net> (raw)
In-Reply-To: <13200511491395-git-send-email-Daniel.Gorsulowski@esd.eu>
Hi Daniel,
Le 31/10/2011 09:52, Daniel Gorsulowski a ?crit :
> quotation from Albert ARIBAUD:
> "Recently the ARM mach-types.h file has been brought in sync with its
> Linux original, leasing to a number of boards not being listed any more,
> as the new list only contains boards which have actual Linux support or
> were declared less than one year ago.
>
> The symptom is a build failure with a message of the form "error:
> 'MACH_TYPE_XXXXXX' undeclared (first use in this function)".
>
> U-Boot maintainers of such boards (in Cc: of this mail) should provide a
> patch to re-introduce the MACH_TYPE_XXXXXX definition in their boards'
> config header file in include/configs/."
>
> Signed-off-by: Daniel Gorsulowski<Daniel.Gorsulowski@esd.eu>
> ---
> include/configs/meesc.h | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/meesc.h b/include/configs/meesc.h
> index a2b55d5..ea40290 100644
> --- a/include/configs/meesc.h
> +++ b/include/configs/meesc.h
> @@ -45,6 +45,14 @@
> */
> #define CONFIG_SYS_TEXT_BASE 0x20002000
>
> +/*
> + * since a number of boards are not being listed in linux
> + * arch/arm/tools/mach-types any more, the mach-types have to be
> + * defined here
> + */
> +#define MACH_TYPE_MEESC 2165
> +#define MACH_TYPE_ETHERCAN2 2407
> +
> /* ARM asynchronous clock */
> #define CONFIG_SYS_AT91_SLOW_CLOCK 32768 /* 32.768 kHz crystal */
> #define CONFIG_SYS_AT91_MAIN_CLOCK 16000000/* 16.0 MHz crystal */
Applied to u-boot-arm/master, thanks!
Amicalement,
--
Albert.
prev parent reply other threads:[~2011-11-05 11:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-31 8:52 [U-Boot] [PATCH 1/2] at91: defined mach-types for meesc board in board config file Daniel Gorsulowski
2011-11-05 11:13 ` Albert ARIBAUD [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EB51A74.8050302@aribaud.net \
--to=albert.u.boot@aribaud.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.