[U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

Mike Frysinger vapier at gentoo.org
Fri Dec 31 08:42:03 CET 2010


On Friday, December 31, 2010 02:13:48 Macpaul Lin wrote:
> There are several way to reset the u-boot.
> Some platform will use watchdog timeout to reset the system.
> Some platfrom will jump to 0x0 to reload the u-boot.
> Some platform will jump to CONFIG_SYS_TEXT_BASE to do fast reset.
> 
> This patch fixed the problem of static varible didn't cleared on
> the platforms which "CONFIG_SKIP_LOWLEVEL_INIT" is enabled and do
> software reset by simply jump to the address "CONFIG_SYS_TEXT_BASE".

i have no idea what "CONFIG_SKIP_LOWLEVEL_INIT" is, so i cant really comment 
on what you're trying to do

> +void reinit_bin()

needs to be (void)

> +extern void reinit_malloc_pool()

here too, and putting "extern" on the actual func def makes no sense
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101231/db6cbc3a/attachment.pgp 


More information about the U-Boot mailing list