From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 1/2] ARMV7: Add support for Samsung ORIGEN board
Date: Tue, 26 Jul 2011 09:49:00 +0300 [thread overview]
Message-ID: <4E2E635C.8010900@compulab.co.il> (raw)
In-Reply-To: <1310984362-22727-2-git-send-email-chander.kashyap@linaro.org>
On 07/18/11 13:19, Chander Kashyap wrote:
> Origen board is based upon S5PV310 SoC which is similiar to
> S5PC210 SoC.
>
> Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
> ---
> Changes for v2:
> - None
> Changes for v3:
> - Board entry added Alphabetically in boards.cfg
> - Used get_Ram_size function to calculate ram size
[...]
> diff --git a/board/samsung/origen/origen.c b/board/samsung/origen/origen.c
> new file mode 100644
> index 0000000..6dd1709
> --- /dev/null
> +++ b/board/samsung/origen/origen.c
[...]
> +
> +int board_init(void)
> +{
> + gpio1 = (struct s5pc210_gpio_part1 *) S5PC210_GPIO_PART1_BASE;
> + gpio2 = (struct s5pc210_gpio_part2 *) S5PC210_GPIO_PART2_BASE;
> +
> + gd->bd->bi_arch_number = MACH_TYPE_ORIGEN;
This should be done in the board config file.
Please, see the CONFIG_MACH_TYPE in the U-Boot documentation (README file).
[...]
> diff --git a/include/configs/origen.h b/include/configs/origen.h
> new file mode 100644
> index 0000000..441b311
> --- /dev/null
> +++ b/include/configs/origen.h
[...]
> +/* MACH_TYPE_ORIGEN macro will be removed once added to mach-types */
> +#define MACH_TYPE_ORIGEN 3455
#define CONFIG_MACH_TYPE MACH_TYPE_ORIGEN
--
Regards,
Igor.
next prev parent reply other threads:[~2011-07-26 6:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-18 10:19 [U-Boot] [PATCH v3 0/2] ORIGEN Board Support Chander Kashyap
2011-07-18 10:19 ` [U-Boot] [PATCH v3 1/2] ARMV7: Add support for Samsung ORIGEN board Chander Kashyap
2011-07-26 6:02 ` Minkyu Kang
2011-07-26 6:49 ` Igor Grinberg [this message]
2011-07-18 10:19 ` [U-Boot] [PATCH v3 2/2] ORIGEN: Add MMC SPL support Chander Kashyap
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=4E2E635C.8010900@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox