[MIPS] TXx9: Cleanups for 64-bit support
* 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>
This commit is contained in:

committed by
Ralf Baechle

parent
b5d5accc7a
commit
255033a9bb
@@ -36,10 +36,6 @@
|
||||
|
||||
void __init rbtx4927_prom_init(void)
|
||||
{
|
||||
extern int tx4927_get_mem_size(void);
|
||||
int msize;
|
||||
|
||||
prom_init_cmdline();
|
||||
msize = tx4927_get_mem_size();
|
||||
add_memory_region(0, msize << 20, BOOT_MEM_RAM);
|
||||
add_memory_region(0, tx4927_get_mem_size(), BOOT_MEM_RAM);
|
||||
}
|
||||
|
Reference in New Issue
Block a user