]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/mk48t59.h
fdt: introduce fdt_create_phandle()
[karo-tx-uboot.git] / include / mk48t59.h
index fbdb9f9d12d7a38d12a0ae93325252cbd6a019c8..e213fb898fead797ba8f6a7659c85ed2a61709af 100644 (file)
  */
 
 
-#if defined(CONFIG_RTC_MK48T59) && ((CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE))
+#if defined(CONFIG_RTC_MK48T59) && defined(CONFIG_CMD_DATE)
 
-#define RTC_PORT_ADDR0         CFG_ISA_IO +  0x70
+#define RTC_PORT_ADDR0         CONFIG_SYS_ISA_IO +  0x70
 #define RTC_PORT_ADDR1         RTC_PORT_ADDR0 +  0x1
-#define RTC_PORT_DATA          CFG_ISA_IO +  0x76
+#define RTC_PORT_DATA          CONFIG_SYS_ISA_IO +  0x76
 
 /* RTC Offsets */
 #define RTC_SECONDS             0x1FF9