[U-Boot] [PATCH] BOOT: Add RAW ramdisk support to bootz

Wolfgang Denk wd at denx.de
Fri Mar 30 23:12:46 CEST 2012

Dear Rob & Marek,

In message <1332107278-24123-1-git-send-email-robherring2 at gmail.com> you wrote:
> From: Marek Vasut <marek.vasut at gmail.com>
> This patch allows loading RAW ramdisk via bootz command. The raw ramdisk is
> loaded only in case it's size is specified:
>   bootz <kernel addr> <ramdisk addr>:<ramdisk size> <fdt addr>
> For example:
>   bootz 0x42000000 0x43000000:0x12345 0x44000000
> Signed-off-by: Marek Vasut <marex at denx.de>
> Signed-off-by: Rob Herring <rob.herring at calxeda.com>
> Cc: Tom Warren <TWarren at nvidia.com>
> Cc: albert.u.boot at aribaud.net
> Cc: afleming at gmail.com
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Stephen Warren <swarren at nvidia.com>
> Cc: Nicolas Pitre <nico at fluxnic.net>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Detlev Zundel <dzu at denx.de>
> ---
> V3:
> - fix operation when CONFIG_FIT is enabled as FIT images use 
>   <addr>[:<subimage>]


This causes build warnings:

Configuring for TQM860L board...
image.c: In function 'boot_get_ramdisk':
image.c:800: warning: unused variable 'end'

Why do I get this at all?  I did not enable any of the related bootz
stuff on my board!

Please fix!

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
Vulcans believe peace should not depend on force.
	-- Amanda, "Journey to Babel", stardate 3842.3

More information about the U-Boot mailing list