[U-Boot] [PATCH V2] cmd_time: add time command

Mike Frysinger vapier at gentoo.org
Thu Oct 6 20:52:43 CEST 2011


On Thu, Oct 6, 2011 at 04:33, Che-Liang Chiou wrote:
> +       /*
> +        * TODO(clchiou): get_timer_masked() is only defined in certain ARM
> +        * boards.  We could use the new timer API that Graeme is proposing
> +        * so that this piece of code would be arch-independent.
> +        */
> +       *cycles = get_timer_masked();
> +       retval = cmdtp->cmd(cmdtp, flag, argc, argv);
> +       *cycles = get_timer_masked() - *cycles;

if that's true, this can't be added to config_cmd_all.h
-mike


More information about the U-Boot mailing list