* can you believe a trademark on that?
*/
+/* #define DEBUG 1 */
+
#include <common.h>
#include <command.h>
#include <rtc.h>
#if defined(CONFIG_RTC_M41T11) && defined(CFG_I2C_RTC_ADDR) && (CONFIG_COMMANDS & CFG_CMD_DATE)
-#define DEBUG 1
-
static unsigned bcd2bin (uchar n)
{
return ((((n >> 4) & 0x0F) * 10) + (n & 0x0F));