public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Board specific hook for performing pre-os tweaks
Date: Tue, 19 Jan 2016 10:01:42 +0100	[thread overview]
Message-ID: <569DFB76.20009@denx.de> (raw)
In-Reply-To: <CAFOYHZA==gjd-XzZpv4-SL+j0CZUgo2=dzEkmD9nxVKLTTiMKA@mail.gmail.com>

Hi Chris,

On 18/01/2016 00:36, Chris Packham wrote:
> Hi,
> 
> Is there any hook for performing board specific actions prior to
> booting the OS. A quick google search turned up this thread from
> 2014[1]. But the eventual outcome seemed to be that the device model
> will take care of restoring devices to their unused state, for
> anything else there is arch_preboot_os() which may get renamed to drop
> the arch_ part at some point.
> 
> Is using arch_preboot_os() still the best place to perform board
> specific tweaks for the OS?
> 

Yes, as far as I know. Not all arch have already switched to the device
model, and for them this function remains the hook to do something.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

      reply	other threads:[~2016-01-19  9:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-17 23:36 [U-Boot] Board specific hook for performing pre-os tweaks Chris Packham
2016-01-19  9:01 ` Stefano Babic [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=569DFB76.20009@denx.de \
    --to=sbabic@denx.de \
    --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