Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: a38fd8748464831584a19438cbb3082b5a2dab15 authored by Linus Torvalds on 06 March 2021, 01:33:41 UTC
Linux 5.12-rc2
Tip revision: a38fd87
prom.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/memblock.h>
#include <asm/txx9/generic.h>
#include <asm/txx9/rbtx4938.h>

void __init rbtx4938_prom_init(void)
{
	memblock_add(0, tx4938_get_mem_size());
	txx9_sio_putchar_init(TX4938_SIO_REG(0) & 0xfffffffffULL);
}
back to top