diff options
Diffstat (limited to 'arch/mips/txx9/rbtx4938/prom.c')
-rw-r--r-- | arch/mips/txx9/rbtx4938/prom.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/mips/txx9/rbtx4938/prom.c b/arch/mips/txx9/rbtx4938/prom.c new file mode 100644 index 000000000..0de84716a --- /dev/null +++ b/arch/mips/txx9/rbtx4938/prom.c | |||
@@ -0,0 +1,22 @@ | |||
1 | /* | ||
2 | * rbtx4938 specific prom routines | ||
3 | * Copyright (C) 2000-2001 Toshiba Corporation | ||
4 | * | ||
5 | * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the | ||
6 | * terms of the GNU General Public License version 2. This program is | ||
7 | * licensed "as is" without any warranty of any kind, whether express | ||
8 | * or implied. | ||
9 | * | ||
10 | * Support for TX4938 in 2.6 - Manish Lachwani (mlachwani@mvista.com) | ||
11 | */ | ||
12 | |||
13 | #include <linux/init.h> | ||
14 | #include <linux/memblock.h> | ||
15 | #include <asm/txx9/generic.h> | ||
16 | #include <asm/txx9/rbtx4938.h> | ||
17 | |||
18 | void __init rbtx4938_prom_init(void) | ||
19 | { | ||
20 | memblock_add(0, tx4938_get_mem_size()); | ||
21 | txx9_sio_putchar_init(TX4938_SIO_REG(0) & 0xfffffffffULL); | ||
22 | } | ||