2005-07-26 05:45:45 +07:00
|
|
|
/*
|
|
|
|
* rbtx4938 specific prom routines
|
|
|
|
* Copyright (C) 2000-2001 Toshiba Corporation
|
|
|
|
*
|
|
|
|
* 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the
|
|
|
|
* terms of the GNU General Public License version 2. This program is
|
|
|
|
* licensed "as is" without any warranty of any kind, whether express
|
|
|
|
* or implied.
|
|
|
|
*
|
|
|
|
* Support for TX4938 in 2.6 - Manish Lachwani (mlachwani@mvista.com)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/bootmem.h>
|
|
|
|
#include <asm/bootinfo.h>
|
2008-07-11 21:27:54 +07:00
|
|
|
#include <asm/txx9/generic.h>
|
|
|
|
#include <asm/txx9/rbtx4938.h>
|
2005-07-26 05:45:45 +07:00
|
|
|
|
2008-07-11 21:27:54 +07:00
|
|
|
void __init rbtx4938_prom_init(void)
|
2005-07-26 05:45:45 +07:00
|
|
|
{
|
2008-07-18 23:51:41 +07:00
|
|
|
add_memory_region(0, tx4938_get_mem_size(), BOOT_MEM_RAM);
|
2008-07-29 20:10:08 +07:00
|
|
|
txx9_sio_putchar_init(TX4938_SIO_REG(0) & 0xfffffffffULL);
|
2005-07-26 05:45:45 +07:00
|
|
|
}
|