From: Wolfgang Denk Date: Sun, 18 Oct 2009 22:44:29 +0200 Subject: [U-Boot] [Patch v2] vxworks: Add CONFIG_VXWORKS_PREBOOT In-Reply-To: <1253714586-24904-1-git-send-email-niklaus.giger@netstal.com> References: <1253714586-24904-1-git-send-email-niklaus.giger@netstal.com> Message-ID: <20091018204429.77F2F3F6CE@gemini.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 Dear Niklaus Giger, In message <1253714586-24904-1-git-send-email-niklaus.giger@netstal.com> you wrote: > The option CONFIG_VXWORKS_PREBOOT allows a board specific > vxworks_preboot to be run just before jumping into the > vxWorks images. This can be used to alter a register > which is used differently by U-boot and vxWorks. > > The patch defines a weak function which may be overridden by a board > specific version. vxworks_preboot should return 0 to indicated > that everything worked fine. The error code is checked and the > vxWorks image will not be loaded in case of errors. > > Signed-off-by: Niklaus Giger > --- > board/netstal/mcu25/mcu25.c | 8 ++++++++ > common/cmd_elf.c | 11 +++++++++++ > include/vxworks.h | 2 ++ > 3 files changed, 21 insertions(+), 0 deletions(-) Please add a few words to the README that document the new CONFIG_VXWORKS_PREBOOT option. Then resubmit. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de panic: can't find /