From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: a320evb: define mach-type in board config file
Date: Fri, 11 Nov 2011 08:43:28 +0200 [thread overview]
Message-ID: <4EBCC410.70001@compulab.co.il> (raw)
In-Reply-To: <1320730825-1989-1-git-send-email-yanpai.chen@gmail.com>
On 11/08/11 07:40, Andrew Chen wrote:
> From: Yan-Pai Chen <ypchen@faraday-tech.com>
>
> MACH_TYPE_FARADAY was dropped from mach-types.h. Add it back to
> board config file.
>
> Signed-off-by: Yan-Pai Chen <ypchen@faraday-tech.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
> ---
> board/faraday/a320evb/a320evb.c | 1 -
> include/configs/a320evb.h | 6 ++++++
> 2 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/board/faraday/a320evb/a320evb.c b/board/faraday/a320evb/a320evb.c
> index 2578be4..dfd186b 100644
> --- a/board/faraday/a320evb/a320evb.c
> +++ b/board/faraday/a320evb/a320evb.c
> @@ -31,7 +31,6 @@ DECLARE_GLOBAL_DATA_PTR;
>
> int board_init(void)
> {
> - gd->bd->bi_arch_number = MACH_TYPE_FARADAY;
> gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
>
> ftsmc020_init(); /* initialize Flash */
> diff --git a/include/configs/a320evb.h b/include/configs/a320evb.h
> index 45a7c53..1fafbed 100644
> --- a/include/configs/a320evb.h
> +++ b/include/configs/a320evb.h
> @@ -25,6 +25,12 @@
> #include <asm/arch/a320.h>
>
> /*
> + * mach-type definition
> + */
> +#define MACH_TYPE_FARADAY 758
> +#define CONFIG_MACH_TYPE MACH_TYPE_FARADAY
> +
> +/*
> * Linux kernel tagged list
> */
> #define CONFIG_CMDLINE_TAG
--
Regards,
Igor.
next prev parent reply other threads:[~2011-11-11 6:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-08 5:40 [U-Boot] [PATCH] arm: a320evb: define mach-type in board config file Andrew Chen
2011-11-11 4:52 ` Andrew Yan-Pai Chen
2011-11-11 6:43 ` Igor Grinberg [this message]
2011-11-24 21:31 ` Anatolij Gustschin
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=4EBCC410.70001@compulab.co.il \
--to=grinberg@compulab.co.il \
--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.