All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Board specific hook for performing pre-os tweaks
@ 2016-01-17 23:36 Chris Packham
  2016-01-19  9:01 ` Stefano Babic
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Packham @ 2016-01-17 23:36 UTC (permalink / raw)
  To: u-boot

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?

Thanks,
Chris
--
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/200283

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] Board specific hook for performing pre-os tweaks
  2016-01-17 23:36 [U-Boot] Board specific hook for performing pre-os tweaks Chris Packham
@ 2016-01-19  9:01 ` Stefano Babic
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2016-01-19  9:01 UTC (permalink / raw)
  To: u-boot

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
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-19  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.