122b1d707SAtsushi Nemoto /*
222b1d707SAtsushi Nemoto * rbtx4927 specific prom routines
322b1d707SAtsushi Nemoto *
422b1d707SAtsushi Nemoto * Author: MontaVista Software, Inc.
522b1d707SAtsushi Nemoto * source@mvista.com
622b1d707SAtsushi Nemoto *
722b1d707SAtsushi Nemoto * Copyright 2001-2002 MontaVista Software Inc.
822b1d707SAtsushi Nemoto *
922b1d707SAtsushi Nemoto * Copyright (C) 2004 MontaVista Software Inc.
1022b1d707SAtsushi Nemoto * Author: Manish Lachwani, mlachwani@mvista.com
1122b1d707SAtsushi Nemoto *
1222b1d707SAtsushi Nemoto * This program is free software; you can redistribute it and/or modify it
1322b1d707SAtsushi Nemoto * under the terms of the GNU General Public License as published by the
1422b1d707SAtsushi Nemoto * Free Software Foundation; either version 2 of the License, or (at your
1522b1d707SAtsushi Nemoto * option) any later version.
1622b1d707SAtsushi Nemoto *
1722b1d707SAtsushi Nemoto * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
1822b1d707SAtsushi Nemoto * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1922b1d707SAtsushi Nemoto * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2022b1d707SAtsushi Nemoto * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2122b1d707SAtsushi Nemoto * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
2222b1d707SAtsushi Nemoto * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
2322b1d707SAtsushi Nemoto * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
2422b1d707SAtsushi Nemoto * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
2522b1d707SAtsushi Nemoto * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
2622b1d707SAtsushi Nemoto * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2722b1d707SAtsushi Nemoto *
2822b1d707SAtsushi Nemoto * You should have received a copy of the GNU General Public License along
2922b1d707SAtsushi Nemoto * with this program; if not, write to the Free Software Foundation, Inc.,
3022b1d707SAtsushi Nemoto * 675 Mass Ave, Cambridge, MA 02139, USA.
3122b1d707SAtsushi Nemoto */
32e7ae8d17SThomas Bogendoerfer
3322b1d707SAtsushi Nemoto #include <linux/init.h>
34e7ae8d17SThomas Bogendoerfer #include <linux/memblock.h>
35edcaf1a6SAtsushi Nemoto #include <asm/txx9/generic.h>
36edcaf1a6SAtsushi Nemoto #include <asm/txx9/rbtx4927.h>
3722b1d707SAtsushi Nemoto
rbtx4927_prom_init(void)38edcaf1a6SAtsushi Nemoto void __init rbtx4927_prom_init(void)
3922b1d707SAtsushi Nemoto {
40e7ae8d17SThomas Bogendoerfer memblock_add(0, tx4927_get_mem_size());
41e352953cSAtsushi Nemoto txx9_sio_putchar_init(TX4927_SIO_REG(0) & 0xfffffffffULL);
4222b1d707SAtsushi Nemoto }
43