18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * rbtx4938 specific prom routines
38c2ecf20Sopenharmony_ci * Copyright (C) 2000-2001 Toshiba Corporation
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * 2003-2005 (c) MontaVista Software, Inc. This file is licensed under the
68c2ecf20Sopenharmony_ci * terms of the GNU General Public License version 2. This program is
78c2ecf20Sopenharmony_ci * licensed "as is" without any warranty of any kind, whether express
88c2ecf20Sopenharmony_ci * or implied.
98c2ecf20Sopenharmony_ci *
108c2ecf20Sopenharmony_ci * Support for TX4938 in 2.6 - Manish Lachwani (mlachwani@mvista.com)
118c2ecf20Sopenharmony_ci */
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#include <linux/init.h>
148c2ecf20Sopenharmony_ci#include <linux/memblock.h>
158c2ecf20Sopenharmony_ci#include <asm/txx9/generic.h>
168c2ecf20Sopenharmony_ci#include <asm/txx9/rbtx4938.h>
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_civoid __init rbtx4938_prom_init(void)
198c2ecf20Sopenharmony_ci{
208c2ecf20Sopenharmony_ci	memblock_add(0, tx4938_get_mem_size());
218c2ecf20Sopenharmony_ci	txx9_sio_putchar_init(TX4938_SIO_REG(0) & 0xfffffffffULL);
228c2ecf20Sopenharmony_ci}
23