X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fmk48t59.h;h=e213fb898fead797ba8f6a7659c85ed2a61709af;hb=7aabd2b12c5108276eb1fc7789b8955f3258db98;hp=03c992e06aa000d818f2dad42f289c162f7ea24c;hpb=012771d88adfb5e0886591880041f05fc8b15bdd;p=u-boot diff --git a/include/mk48t59.h b/include/mk48t59.h index 03c992e06a..e213fb898f 100644 --- a/include/mk48t59.h +++ b/include/mk48t59.h @@ -26,11 +26,11 @@ */ -#if defined(CONFIG_RTC_MK48T59) && (CONFIG_COMMANDS & CFG_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