From: Mike Frysinger Date: Fri, 31 Dec 2010 02:42:03 -0500 Subject: [U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset In-Reply-To: <1293779628-9804-1-git-send-email-macpaul@andestech.com> References: <1293779628-9804-1-git-send-email-macpaul@andestech.com> Message-ID: <201012310242.04400.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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