> 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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to