From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 19 Jan 2016 10:01:42 +0100 Subject: [U-Boot] Board specific hook for performing pre-os tweaks In-Reply-To: References: Message-ID: <569DFB76.20009@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 =====================================================================