Convert CONFIG_SYS_INTERLAKEN et al to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 29 Oct 2022 00:26:57 +0000 (20:26 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 10 Nov 2022 14:45:54 +0000 (09:45 -0500)
This converts the following to Kconfig:
   CONFIG_SYS_INTERLAKEN
   CONFIG_SYS_ISA_IO
   CONFIG_SYS_ISA_IO_BASE_ADDRESS

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/rtc/mc146818.c
include/configs/T208xQDS.h
include/configs/T208xRDB.h
include/configs/T4240RDB.h
include/configs/edison.h
include/configs/malta.h
include/configs/x86-common.h
include/mk48t59.h

index 71f96e282e822dd0c7abd1743c988ab5dcf6eaee..122691b978422f0d84281a88262670e3bd649a36 100644 (file)
@@ -22,7 +22,7 @@
 /* Set this to 1 to clear the CMOS RAM */
 #define CLEAR_CMOS             0
 
-#define RTC_PORT_MC146818      CONFIG_SYS_ISA_IO_BASE_ADDRESS + 0x70
+#define RTC_PORT_MC146818      0x70
 #define RTC_SECONDS            0x00
 #define RTC_SECONDS_ALARM      0x01
 #define RTC_MINUTES            0x02
index ce641acb83a1ce468362b55870a569fc641c940b..5d5d6346fa63414796cfc459db10db47921a002e 100644 (file)
 #define CONFIG_SYS_PMAN
 #define CONFIG_SYS_DPAA_DCE
 #define CONFIG_SYS_DPAA_RMAN           /* RMan */
-#define CONFIG_SYS_INTERLAKEN
 #endif /* CONFIG_NOBQFMAN */
 
 #ifdef CONFIG_SYS_DPAA_FMAN
index 3f215a71c455b09a4ee5a9edfb84635410c283d8..407350c25c3cead2fdf9c88b2f303fa4d720123c 100644 (file)
 #define CONFIG_SYS_PMAN
 #define CONFIG_SYS_DPAA_DCE
 #define CONFIG_SYS_DPAA_RMAN           /* RMan */
-#define CONFIG_SYS_INTERLAKEN
 #endif /* CONFIG_NOBQFMAN */
 
 #ifdef CONFIG_SYS_DPAA_FMAN
index 7fc517d2a1060cdd944fd76a014c8a2826515627..c8875c809c307fcf7813fba88c001e07e153c18d 100644 (file)
 #define CONFIG_SYS_PMAN
 #define CONFIG_SYS_DPAA_DCE
 #define CONFIG_SYS_DPAA_RMAN
-#define CONFIG_SYS_INTERLAKEN
 #endif /* CONFIG_NOBQFMAN */
 
 #ifdef CONFIG_SYS_DPAA_FMAN
index 34536ecf85057ac5ff196b79a4bc346af3082fc0..c71ef25233bd83a92f0d4a52d3e0ec420e221901 100644 (file)
@@ -14,7 +14,4 @@
 
 #define CONFIG_SYS_MONITOR_LEN                 (256 * 1024)
 
-/* RTC */
-#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0
-
 #endif
index ff70a5972a50b1919ef88f82130db6b19f9d182e..30c2e41eec536b61655c3276d1fb1053f79fc1f2 100644 (file)
@@ -13,8 +13,6 @@
 
 #define CONFIG_MEMSIZE_IN_BYTES
 
-#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0
-
 /*
  * CPU Configuration
  */
index 42b2cb2fc85a230e6a610e1522b8b1c0d0d042f9..8e22d6e5d876f5c56bf7dcffabf6659b117f0e2c 100644 (file)
 /* Generic TPM interfaced through LPC bus */
 #define CONFIG_TPM_TIS_BASE_ADDRESS        0xfed40000
 
-/*-----------------------------------------------------------------------
- * Real Time Clock Configuration
- */
-#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0
-#define CONFIG_SYS_ISA_IO      CONFIG_SYS_ISA_IO_BASE_ADDRESS
-
 /*-----------------------------------------------------------------------
  * Serial Configuration
  */
index 5d863ef941606721c20914cb85f64349a38a46a9..f95d349c17fb4ca728ab0cc78570a439283d1aec 100644 (file)
@@ -11,9 +11,9 @@
 
 #if defined(CONFIG_RTC_MK48T59) && defined(CONFIG_CMD_DATE)
 
-#define RTC_PORT_ADDR0         CONFIG_SYS_ISA_IO +  0x70
+#define RTC_PORT_ADDR0         0x70
 #define RTC_PORT_ADDR1         RTC_PORT_ADDR0 +  0x1
-#define RTC_PORT_DATA          CONFIG_SYS_ISA_IO +  0x76
+#define RTC_PORT_DATA          0x76
 
 /* RTC Offsets */
 #define RTC_SECONDS             0x1FF9