Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: TXx9: remove useless RTC definitions

The RTC definitions were moved to the driver, remove them from the platform
header.

[paul.burton@mips.com:
- Also remove the unused tx4939_rtcptr which would use struct
tx4939_rtc_reg if it were ever expanded.]

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20024/
Cc: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org

authored by

Alexandre Belloni and committed by
Paul Burton
74a2c0c4 0316b053

-29
-29
arch/mips/include/asm/txx9/tx4939.h
··· 101 101 struct tx4939_le_reg maskext; 102 102 }; 103 103 104 - struct tx4939_rtc_reg { 105 - __u32 ctl; 106 - __u32 adr; 107 - __u32 dat; 108 - __u32 tbc; 109 - }; 110 - 111 104 struct tx4939_crypto_reg { 112 105 struct tx4939_le_reg csr; 113 106 struct tx4939_le_reg idesptr; ··· 363 370 #define TX4939_CLKCTR_CYPRST 0x00000001 364 371 365 372 /* 366 - * RTC 367 - */ 368 - #define TX4939_RTCCTL_ALME 0x00000080 369 - #define TX4939_RTCCTL_ALMD 0x00000040 370 - #define TX4939_RTCCTL_BUSY 0x00000020 371 - 372 - #define TX4939_RTCCTL_COMMAND 0x00000007 373 - #define TX4939_RTCCTL_COMMAND_NOP 0x00000000 374 - #define TX4939_RTCCTL_COMMAND_GETTIME 0x00000001 375 - #define TX4939_RTCCTL_COMMAND_SETTIME 0x00000002 376 - #define TX4939_RTCCTL_COMMAND_GETALARM 0x00000003 377 - #define TX4939_RTCCTL_COMMAND_SETALARM 0x00000004 378 - 379 - #define TX4939_RTCTBC_PM 0x00000080 380 - #define TX4939_RTCTBC_COMP 0x0000007f 381 - 382 - #define TX4939_RTC_REG_RAMSIZE 0x00000100 383 - #define TX4939_RTC_REG_RWBSIZE 0x00000006 384 - 385 - /* 386 373 * CRYPTO 387 374 */ 388 375 #define TX4939_CRYPTO_CSR_SAESO 0x08000000 ··· 471 498 #define tx4939_ccfgptr \ 472 499 ((struct tx4939_ccfg_reg __iomem *)TX4939_CCFG_REG) 473 500 #define tx4939_sramcptr tx4938_sramcptr 474 - #define tx4939_rtcptr \ 475 - ((struct tx4939_rtc_reg __iomem *)TX4939_RTC_REG) 476 501 #define tx4939_cryptoptr \ 477 502 ((struct tx4939_crypto_reg __iomem *)TX4939_CRYPTO_REG) 478 503 #define tx4939_vpcptr ((struct tx4939_vpc_reg __iomem *)TX4939_VPC_REG)