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:
Atsushi Nemoto
2009-05-25 22:04:02 +09:00
کامیت شده توسط Ralf Baechle
والد 05f94eebd5
کامیت c3b28ae260
8فایلهای تغییر یافته به همراه101 افزوده شده و 0 حذف شده

مشاهده پرونده

@@ -425,6 +425,12 @@ void __init tx4938_aclc_init(void)
1, 0, 1);
}
void __init tx4938_sramc_init(void)
{
if (tx4938_sram_resource.start)
txx9_sramc_init(&tx4938_sram_resource);
}
static void __init tx4938_stop_unused_modules(void)
{
__u64 pcfg, rst = 0, ckd = 0;