Convert CONFIG_SYS_INTERLAKEN et al to Kconfig
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>
This commit is contained in:
parent
14a5d3b50e
commit
c56289ddaf
@ -22,7 +22,7 @@
|
|||||||
/* Set this to 1 to clear the CMOS RAM */
|
/* Set this to 1 to clear the CMOS RAM */
|
||||||
#define CLEAR_CMOS 0
|
#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 0x00
|
||||||
#define RTC_SECONDS_ALARM 0x01
|
#define RTC_SECONDS_ALARM 0x01
|
||||||
#define RTC_MINUTES 0x02
|
#define RTC_MINUTES 0x02
|
||||||
|
@ -405,7 +405,6 @@
|
|||||||
#define CONFIG_SYS_PMAN
|
#define CONFIG_SYS_PMAN
|
||||||
#define CONFIG_SYS_DPAA_DCE
|
#define CONFIG_SYS_DPAA_DCE
|
||||||
#define CONFIG_SYS_DPAA_RMAN /* RMan */
|
#define CONFIG_SYS_DPAA_RMAN /* RMan */
|
||||||
#define CONFIG_SYS_INTERLAKEN
|
|
||||||
#endif /* CONFIG_NOBQFMAN */
|
#endif /* CONFIG_NOBQFMAN */
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||||
|
@ -359,7 +359,6 @@
|
|||||||
#define CONFIG_SYS_PMAN
|
#define CONFIG_SYS_PMAN
|
||||||
#define CONFIG_SYS_DPAA_DCE
|
#define CONFIG_SYS_DPAA_DCE
|
||||||
#define CONFIG_SYS_DPAA_RMAN /* RMan */
|
#define CONFIG_SYS_DPAA_RMAN /* RMan */
|
||||||
#define CONFIG_SYS_INTERLAKEN
|
|
||||||
#endif /* CONFIG_NOBQFMAN */
|
#endif /* CONFIG_NOBQFMAN */
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||||
|
@ -366,7 +366,6 @@
|
|||||||
#define CONFIG_SYS_PMAN
|
#define CONFIG_SYS_PMAN
|
||||||
#define CONFIG_SYS_DPAA_DCE
|
#define CONFIG_SYS_DPAA_DCE
|
||||||
#define CONFIG_SYS_DPAA_RMAN
|
#define CONFIG_SYS_DPAA_RMAN
|
||||||
#define CONFIG_SYS_INTERLAKEN
|
|
||||||
#endif /* CONFIG_NOBQFMAN */
|
#endif /* CONFIG_NOBQFMAN */
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||||
|
@ -14,7 +14,4 @@
|
|||||||
|
|
||||||
#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
|
#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
|
||||||
|
|
||||||
/* RTC */
|
|
||||||
#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -13,8 +13,6 @@
|
|||||||
|
|
||||||
#define CONFIG_MEMSIZE_IN_BYTES
|
#define CONFIG_MEMSIZE_IN_BYTES
|
||||||
|
|
||||||
#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CPU Configuration
|
* CPU Configuration
|
||||||
*/
|
*/
|
||||||
|
@ -18,12 +18,6 @@
|
|||||||
/* Generic TPM interfaced through LPC bus */
|
/* Generic TPM interfaced through LPC bus */
|
||||||
#define CONFIG_TPM_TIS_BASE_ADDRESS 0xfed40000
|
#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
|
* Serial Configuration
|
||||||
*/
|
*/
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
|
|
||||||
#if defined(CONFIG_RTC_MK48T59) && defined(CONFIG_CMD_DATE)
|
#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_ADDR1 RTC_PORT_ADDR0 + 0x1
|
||||||
#define RTC_PORT_DATA CONFIG_SYS_ISA_IO + 0x76
|
#define RTC_PORT_DATA 0x76
|
||||||
|
|
||||||
/* RTC Offsets */
|
/* RTC Offsets */
|
||||||
#define RTC_SECONDS 0x1FF9
|
#define RTC_SECONDS 0x1FF9
|
||||||
|
Loading…
Reference in New Issue
Block a user