[U-Boot] [Patch v2] vxworks: Add CONFIG_VXWORKS_PREBOOT

Wolfgang Denk wd at denx.de
Sun Oct 18 22:44:29 CEST 2009


Dear Niklaus Giger,

In message <1253714586-24904-1-git-send-email-niklaus.giger at 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 <niklaus.giger at netstal.com>
> ---
>  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 /


More information about the U-Boot mailing list