[U-Boot] [PATCH] Refresh LZMA-lib to 4.65

Alessandro Rubini rubini-list at gnudd.com
Fri Jul 17 14:26:26 CEST 2009


> watchdog.diff
> reset watchdog timer to avoid reboot during decompression on slow machines.

Actually, you don't need all these ifdef, that clutter the code.

watchdog.h already include this:


                /*
                 * No hardware or software watchdog.
                 */
                #if defined(__ASSEMBLY__)
                        #define WATCHDOG_RESET /*XXX DO_NOT_DEL_THIS_COMMENT*/
                #else
                        #define WATCHDOG_RESET() {}
                #endif /* __ASSEMBLY__ */


So please don't ifdef around WATCHDOG_RESET

/alessandro


More information about the U-Boot mailing list