[MIPS] TXx9: Support early_printk
[deliverable/linux.git] / arch / mips / txx9 / rbtx4938 / prom.c
CommitLineData
23fbee9d 1/*
23fbee9d
RB
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
23fbee9d 13#include <linux/init.h>
23fbee9d 14#include <linux/bootmem.h>
23fbee9d 15#include <asm/bootinfo.h>
edcaf1a6
AN
16#include <asm/txx9/generic.h>
17#include <asm/txx9/rbtx4938.h>
23fbee9d 18
edcaf1a6 19void __init rbtx4938_prom_init(void)
23fbee9d 20{
23fbee9d
RB
21#ifndef CONFIG_TX4938_NAND_BOOT
22 prom_init_cmdline();
23#endif
255033a9 24 add_memory_region(0, tx4938_get_mem_size(), BOOT_MEM_RAM);
e352953c 25 txx9_sio_putchar_init(TX4938_SIO_REG(0) & 0xfffffffffULL);
23fbee9d 26}
This page took 0.299787 seconds and 5 git commands to generate.