mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 20:37:27 +00:00
255033a9bb
* Unify (and fix) mem_tx4938.c and mem_tx4927.c * Simplify prom_init * Kill volatiles and unused definitions for tx4927.h and tx4938.h Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
26 lines
697 B
C
26 lines
697 B
C
/*
|
|
* 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>
|
|
#include <asm/txx9/generic.h>
|
|
#include <asm/txx9/rbtx4938.h>
|
|
|
|
void __init rbtx4938_prom_init(void)
|
|
{
|
|
#ifndef CONFIG_TX4938_NAND_BOOT
|
|
prom_init_cmdline();
|
|
#endif
|
|
add_memory_region(0, tx4938_get_mem_size(), BOOT_MEM_RAM);
|
|
}
|