All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aneesh V <aneesh@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] ARM:AM33XX: Add SPL support for AM335X EVM
Date: Wed, 21 Dec 2011 21:25:43 +0530	[thread overview]
Message-ID: <4EF2017F.3020003@ti.com> (raw)
In-Reply-To: <CA+M6bX=zpYBhaWA21GKUDBDvjTDo3+RTa==OpnUVhfpdOWyNpA@mail.gmail.com>

On Wednesday 21 December 2011 09:16 PM, Tom Rini wrote:
> On Wed, Dec 21, 2011 at 6:03 AM, Chandan Nath<chandan.nath@ti.com>  wrote:
>> This patch is added to support SPL feature on AM335X
>> platform. In this patch, MMC1 is configured as boot
>> device for SPL and support for other devices will be
>> added in the next patch series.
> [snip]
>> +#ifdef CONFIG_SPL_BUILD
>> +u32 am33xx_boot_device = BOOT_DEVICE_MMC1;
>
> Please see the Overo SPL thread where Wolfgang mentions the right way
> to init this to 0 and have it be in the data section, followed by me
> saying I'd see if<linux/compiler.h>  had a shortcut.

But here looks like he doesn't intend to initialize it to 0?

>
>> +u32 omap_boot_mode(void)
>> +{
>
> Something I wanted to see, but hadn't had a chance to look into was if
> we could use the OMAP4/5 code for boot_mode as well, can you please
> check?
>

OMAP4/5 code parses ROM code structures (using a pointer passed by ROM
code). If those structures and their layout are exactly same in AM33XX,
it may work, otherwise it won't.

br,
Aneesh

  reply	other threads:[~2011-12-21 15:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 13:03 [U-Boot] [PATCH 0/3] Added SPL support Chandan Nath
2011-12-21 13:03 ` [U-Boot] [PATCH 1/3] ARM:AM33XX: Fix ddr and timer register offset Chandan Nath
2011-12-21 15:41   ` Tom Rini
2011-12-21 13:03 ` [U-Boot] [PATCH 2/3] ARM:AM33XX: Add mmc/sd support Chandan Nath
2011-12-21 15:38   ` Tom Rini
2011-12-21 13:03 ` [U-Boot] [PATCH 3/3] ARM:AM33XX: Add SPL support for AM335X EVM Chandan Nath
2011-12-21 15:46   ` Tom Rini
2011-12-21 15:55     ` Aneesh V [this message]
2011-12-21 16:01       ` Tom Rini
2011-12-21 15:48 ` [U-Boot] [PATCH 0/3] Added SPL support Tom Rini

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=4EF2017F.3020003@ti.com \
    --to=aneesh@ti.com \
    --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.