coco3: enable RTC code
authorBrett Gordon <beretta42@gmail.com>
Thu, 24 Mar 2016 17:11:46 +0000 (13:11 -0400)
committerBrett Gordon <beretta42@gmail.com>
Thu, 23 Jun 2016 16:57:54 +0000 (12:57 -0400)
Kernel/platform-coco3/config.h
Kernel/platform-coco3/devices.c

index d9108dc..c3489a7 100644 (file)
@@ -89,3 +89,4 @@ extern unsigned char vt_map( unsigned char c );
 #undef  CONFIG_COCOSDC    /* Darren Atkinson's "CoCoSDC" cartridge */
 #define CONFIG_IDE        /* enable if IDE interface present */
 
+#define CONFIG_RTC        /* enable RTC code */
index 5d47efd..9def73f 100644 (file)
@@ -48,5 +48,6 @@ void device_init(void)
        devsdc_init( );
 #endif
        dwtime_init( );
+       inittod();
 }