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>
This commit is contained in:

committed by
Ralf Baechle

parent
05f94eebd5
commit
c3b28ae260
@@ -95,5 +95,6 @@ void __init txx9_aclc_init(unsigned long baseaddr, int irq,
|
||||
unsigned int dmac_id,
|
||||
unsigned int dma_chan_out,
|
||||
unsigned int dma_chan_in);
|
||||
void __init txx9_sramc_init(struct resource *r);
|
||||
|
||||
#endif /* __ASM_TXX9_GENERIC_H */
|
||||
|
@@ -307,5 +307,6 @@ struct tx4938ide_platform_info {
|
||||
void tx4938_ata_init(unsigned int irq, unsigned int shift, int tune);
|
||||
void tx4938_dmac_init(int memcpy_chan0, int memcpy_chan1);
|
||||
void tx4938_aclc_init(void);
|
||||
void tx4938_sramc_init(void);
|
||||
|
||||
#endif
|
||||
|
@@ -546,5 +546,6 @@ void tx4939_ndfmc_init(unsigned int hold, unsigned int spw,
|
||||
unsigned char ch_mask, unsigned char wide_mask);
|
||||
void tx4939_dmac_init(int memcpy_chan0, int memcpy_chan1);
|
||||
void tx4939_aclc_init(void);
|
||||
void tx4939_sramc_init(void);
|
||||
|
||||
#endif /* __ASM_TXX9_TX4939_H */
|
||||
|
Reference in New Issue
Block a user