[U-Boot] [PATCH v3 6/7] omap_rev_string: output to stdout

Tom Rini tom.rini at gmail.com
Fri Jan 13 17:31:35 CET 2012


On Wed, Jan 4, 2012 at 6:26 PM, Andreas Müller <schnitzeltony at gmx.de> wrote:
> * avoid potential buffer overflows
> * allow SPL-build not to output "Texas Instruments Revision detection unimplemented"
>
> Signed-off-by: Andreas Müller <schnitzeltony at gmx.de>
> ---
>  arch/arm/cpu/armv7/omap-common/hwinit-common.c |   10 ++++------
>  arch/arm/cpu/armv7/omap-common/spl.c           |   10 ++++------
>  arch/arm/include/asm/arch-omap4/sys_proto.h    |    2 +-
>  arch/arm/include/asm/arch-omap5/sys_proto.h    |    2 +-
>  arch/arm/include/asm/omap_common.h             |    2 +-
>  5 files changed, 11 insertions(+), 15 deletions(-)
>
> diff --git a/arch/arm/cpu/armv7/omap-common/hwinit-common.c b/arch/arm/cpu/armv7/omap-common/hwinit-common.c
> index f65705d..90ec44d 100644
> --- a/arch/arm/cpu/armv7/omap-common/hwinit-common.c
> +++ b/arch/arm/cpu/armv7/omap-common/hwinit-common.c
> @@ -104,14 +104,14 @@ u32 cortex_rev(void)
>        return rev;
>  }
>
> -void omap_rev_string(char *omap_rev_string)
> +void omap_rev_string()

I'm going to apply this, but globally fix this change, it should read
'void omap_rev_string(void)'

-- 
Tom


More information about the U-Boot mailing list