diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2009-05-25 17:04:02 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-06-17 14:06:27 +0400 |
commit | c3b28ae260d99a5364a31210a36a3246bd9647f7 (patch) | |
tree | b24ffef4b1352f09af2944eea78685a7e3d38686 /arch/mips/txx9/rbtx4938 | |
parent | 05f94eebd55ef69a354d3ea70179e40ea4c34de6 (diff) | |
download | linux-c3b28ae260d99a5364a31210a36a3246bd9647f7.tar.xz |
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/txx9/rbtx4938')
-rw-r--r-- | arch/mips/txx9/rbtx4938/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/txx9/rbtx4938/setup.c b/arch/mips/txx9/rbtx4938/setup.c index 8da66e956ee6..d66509b14284 100644 --- a/arch/mips/txx9/rbtx4938/setup.c +++ b/arch/mips/txx9/rbtx4938/setup.c @@ -358,6 +358,7 @@ static void __init rbtx4938_device_init(void) tx4938_dmac_init(0, 2); tx4938_aclc_init(); platform_device_register_simple("txx9aclc-generic", -1, NULL, 0); + tx4938_sramc_init(); txx9_iocled_init(RBTX4938_LED_ADDR - IO_BASE, -1, 8, 1, "green", NULL); } |