
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 niklaus.giger@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