On Aug 13, 2008, at 3:31 PM, Peter Tyser wrote:

> Signed-off-by: Peter Tyser <[EMAIL PROTECTED]>
> ---
> README             |    5 +++--
> common/cmd_bootm.c |   39 +++++++++++++++++++++++++++++++++++++++
> common/image.c     |    3 +++
> include/image.h    |    1 +
> 4 files changed, 46 insertions(+), 2 deletions(-)

> +#ifdef CONFIG_INTEGRITY
> +static void do_bootm_integrity (cmd_tbl_t *cmdtp, int flag,
> +                             int argc, char *argv[],
> +                             bootm_headers_t *images)
> +{
> +     image_header_t *hdr = &images->legacy_hdr_os_copy;
> +     void (*entry_point)(void);
> +
> +#if defined(CONFIG_FIT)
> +     if (!images->legacy_hdr_valid) {
> +             fit_unsupported_reset ("INTEGRITY");
> +             do_reset (cmdtp, flag, argc, argv);
> +     }
> +#endif
> +
> +     entry_point = (void (*)(void))image_get_ep (hdr);
> +
> +     printf ("## Transferring control to INTEGRITY (at address  
> %08lx) ...\n",
> +             (ulong)entry_point);
> +
> +     show_boot_progress (15);
> +
> +     /*
> +      * INTEGRITY Parameters:
> +      *   None
> +      */
> +     (*entry_point)();
> +}

Any reason we can't just use go?

- k
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to