2005-04-17 00:20:36 +02:00
|
|
|
/*
|
|
|
|
* MPC85xx support routines
|
|
|
|
*
|
2005-11-14 01:06:30 +01:00
|
|
|
* Maintainer: Kumar Gala <galak@kernel.crashing.org>
|
2005-04-17 00:20:36 +02:00
|
|
|
*
|
|
|
|
* Copyright 2004 Freescale Semiconductor Inc.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/init.h>
|
|
|
|
|
|
|
|
#include <asm/mpc85xx.h>
|
|
|
|
#include <asm/mmu.h>
|
|
|
|
|
|
|
|
/* ************************************************************************ */
|
|
|
|
/* Return the value of CCSRBAR for the current board */
|
|
|
|
|
|
|
|
phys_addr_t
|
|
|
|
get_ccsrbar(void)
|
|
|
|
{
|
|
|
|
return BOARD_CCSRBAR;
|
|
|
|
}
|
|
|
|
|
|
|
|
EXPORT_SYMBOL(get_ccsrbar);
|
2005-04-17 00:24:22 +02:00
|
|
|
|
|
|
|
/* For now this is a pass through */
|
|
|
|
phys_addr_t fixup_bigphys_addr(phys_addr_t addr, phys_addr_t size)
|
|
|
|
{
|
|
|
|
return addr;
|
|
|
|
};
|
|
|
|
EXPORT_SYMBOL(fixup_bigphys_addr);
|
|
|
|
|