
31 Dec
2010
31 Dec
'10
8:42 a.m.
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