All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Kocialkowski <contact@paulk.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction
Date: Wed, 26 Aug 2015 13:00:01 +0200	[thread overview]
Message-ID: <1440586801.2524.26.camel@collins> (raw)
In-Reply-To: <55DD5B96.5030406@schmelzer.or.at>

By the way, would you like to add am33xx support to the SYS_BOOT-based
fallback interface?

There is already get_sysboot_value on am33xx code (that is unused), I
suggest that you use that function to write a proper
omap_sys_boot_device in boot.c, as is done on omap platforms (and get
rid of get_sysboot_value afterwards).

Most of the work is to fill up a boot_devices array to match up each
first *memory* booting devices based on the SYS_BOOT value, for each
supported platform. Currently, am33xx supports:
* AM33xx
* AM43xx
* TI81xx: TI816x (DM816x/AM389x), TI814x (DM814x/AM387x)

That's 4 platforms and 4 TRMs to get the data from. The list of proper
CONFIG defines to each for each platform can be found in
arch/arm/includes/asm/arch-am33xx/spl.h

Let me know if you're interested, I didn't do it at first because I have
no device to test this with.

-- 
Paul Kocialkowski, Replicant developer

Replicant is a fully free Android distribution running on several
devices, a free software mobile operating system putting the emphasis on
freedom and privacy/security.

Website: http://www.replicant.us/
Blog: http://blog.replicant.us/
Wiki/tracker/forums: http://redmine.replicant.us/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150826/836f528e/attachment.sig>

      parent reply	other threads:[~2015-08-26 11:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-25 15:40 [U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction Paul Kocialkowski
2015-08-25 16:06 ` Tom Rini
2015-08-26  6:24 ` Hannes Schmelzer
2015-08-26 10:51   ` Paul Kocialkowski
2015-08-26 13:23     ` Tom Rini
2015-08-26 22:59       ` Paul Kocialkowski
2015-08-26 23:06         ` Tom Rini
2015-08-27  4:11         ` Hannes Schmelzer
2015-08-26 11:00   ` Paul Kocialkowski [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=1440586801.2524.26.camel@collins \
    --to=contact@paulk.fr \
    --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.