[U-Boot] Board specific hook for performing pre-os tweaks

Stefano Babic sbabic at denx.de
Tue Jan 19 10:01:42 CET 2016


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


More information about the U-Boot mailing list