All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/5] ARM:AM33XX: Add support for TI AM335X EVM
Date: Wed, 12 Oct 2011 09:53:33 +0200	[thread overview]
Message-ID: <4E95477D.8040408@compulab.co.il> (raw)
In-Reply-To: <1318341073-1996-6-git-send-email-chandan.nath@ti.com>

Hi Chandan,

On 10/11/11 15:51, Chandan Nath wrote:
> This patch adds basic support for booting the board.
> This patch adds support for the UART necessary to
> get to the u-boot prompt.
> 
> Signed-off-by: Chandan Nath <chandan.nath@ti.com>
> ---
>  Support for additional peripherals depends on this patchset.
>  Will be posting them soon.

Please, don't forget to specify the dependencies when you post
the depending patch sets.

[...]

> diff --git a/board/ti/am335x/evm.c b/board/ti/am335x/evm.c
> new file mode 100644
> index 0000000..25a3755
> --- /dev/null
> +++ b/board/ti/am335x/evm.c
> @@ -0,0 +1,50 @@

[...]

> +/*
> + * Basic board specific setup
> + */
> +int init_basic_setup(void)
> +{
> +	/* Initialize the Timer */
> +	init_timer();
> +
> +	gd->bd->bi_arch_number = MACH_TYPE_TIAM335EVM;

Please, use the new standard for setting the mach_id.
Check the CONFIG_MACH_TYPE option in the README file.

> +
> +	/* address of boot parameters */
> +	gd->bd->bi_boot_params = PHYS_DRAM_1 + 0x100;
> +
> +	return 0;
> +}
> +
> +int board_init(void)
> +{
> +	enable_uart0_pin_mux();
> +	init_basic_setup();
> +
> +	return 0;
> +}

[...]


-- 
Regards,
Igor.

  parent reply	other threads:[~2011-10-12  7:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-11 13:51 [U-Boot] [PATCH 0/5] ARM:AM33XX: Basic support for AM33xx platform Chandan Nath
2011-10-11 13:51 ` [U-Boot] [PATCH 1/5] ARM:AM33XX: Added support for AM33xx Chandan Nath
2011-10-11 16:06   ` Tom Rini
2011-10-12 10:29     ` Kumar
2011-10-12 14:07       ` Tom Rini
2011-10-11 13:51 ` [U-Boot] [PATCH 2/5] ARM:AM33XX: Add clock definitions Chandan Nath
2011-10-11 13:51 ` [U-Boot] [PATCH 3/5] ARM:AM33XX: Add emif/ddr support Chandan Nath
2011-10-11 13:51 ` [U-Boot] [PATCH 4/5] ARM:AM33XX: Added timer support Chandan Nath
2011-10-11 16:04   ` Tom Rini
2011-10-12 10:25     ` Kumar
2011-10-11 13:51 ` [U-Boot] [PATCH 5/5] ARM:AM33XX: Add support for TI AM335X EVM Chandan Nath
2011-10-11 16:09   ` Tom Rini
2011-10-12 10:30     ` Kumar
2011-10-12  7:53   ` Igor Grinberg [this message]
2011-10-12 10:18     ` Premi, Sanjeev
2011-10-12 21:19       ` Igor Grinberg
2011-10-12 11:08     ` Kumar
2011-10-12  8:04   ` Igor Grinberg

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=4E95477D.8040408@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.