diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2009-05-25 09:04:02 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-06-17 06:06:27 -0400 |
commit | c3b28ae260d99a5364a31210a36a3246bd9647f7 (patch) | |
tree | b24ffef4b1352f09af2944eea78685a7e3d38686 /arch/mips/include/asm/txx9 | |
parent | 05f94eebd55ef69a354d3ea70179e40ea4c34de6 (diff) |
MIPS: TXx9: Add SRAMC support
Add a sysdev to access SRAM in TXx9 SoCs via sysfs.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/txx9')
-rw-r--r-- | arch/mips/include/asm/txx9/generic.h | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/txx9/tx4938.h | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/txx9/tx4939.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/txx9/generic.h b/arch/mips/include/asm/txx9/generic.h index 8169477d1475..827dc22be2ea 100644 --- a/arch/mips/include/asm/txx9/generic.h +++ b/arch/mips/include/asm/txx9/generic.h | |||
@@ -95,5 +95,6 @@ void __init txx9_aclc_init(unsigned long baseaddr, int irq, | |||
95 | unsigned int dmac_id, | 95 | unsigned int dmac_id, |
96 | unsigned int dma_chan_out, | 96 | unsigned int dma_chan_out, |
97 | unsigned int dma_chan_in); | 97 | unsigned int dma_chan_in); |
98 | void __init txx9_sramc_init(struct resource *r); | ||
98 | 99 | ||
99 | #endif /* __ASM_TXX9_GENERIC_H */ | 100 | #endif /* __ASM_TXX9_GENERIC_H */ |
diff --git a/arch/mips/include/asm/txx9/tx4938.h b/arch/mips/include/asm/txx9/tx4938.h index 54e467410a02..8a178f186f7d 100644 --- a/arch/mips/include/asm/txx9/tx4938.h +++ b/arch/mips/include/asm/txx9/tx4938.h | |||
@@ -307,5 +307,6 @@ struct tx4938ide_platform_info { | |||
307 | void tx4938_ata_init(unsigned int irq, unsigned int shift, int tune); | 307 | void tx4938_ata_init(unsigned int irq, unsigned int shift, int tune); |
308 | void tx4938_dmac_init(int memcpy_chan0, int memcpy_chan1); | 308 | void tx4938_dmac_init(int memcpy_chan0, int memcpy_chan1); |
309 | void tx4938_aclc_init(void); | 309 | void tx4938_aclc_init(void); |
310 | void tx4938_sramc_init(void); | ||
310 | 311 | ||
311 | #endif | 312 | #endif |
diff --git a/arch/mips/include/asm/txx9/tx4939.h b/arch/mips/include/asm/txx9/tx4939.h index f13b708de617..050364d50b79 100644 --- a/arch/mips/include/asm/txx9/tx4939.h +++ b/arch/mips/include/asm/txx9/tx4939.h | |||
@@ -546,5 +546,6 @@ void tx4939_ndfmc_init(unsigned int hold, unsigned int spw, | |||
546 | unsigned char ch_mask, unsigned char wide_mask); | 546 | unsigned char ch_mask, unsigned char wide_mask); |
547 | void tx4939_dmac_init(int memcpy_chan0, int memcpy_chan1); | 547 | void tx4939_dmac_init(int memcpy_chan0, int memcpy_chan1); |
548 | void tx4939_aclc_init(void); | 548 | void tx4939_aclc_init(void); |
549 | void tx4939_sramc_init(void); | ||
549 | 550 | ||
550 | #endif /* __ASM_TXX9_TX4939_H */ | 551 | #endif /* __ASM_TXX9_TX4939_H */ |