blob: 0145c968f9adf70777b464b6290cd944af89679b [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 * MPC85xx support routines
3 *
Kumar Gala4c8d3d92005-11-13 16:06:30 -08004 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 *
6 * Copyright 2004 Freescale Semiconductor Inc.
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
12 */
13
14#include <linux/config.h>
15#include <linux/types.h>
16#include <linux/module.h>
17#include <linux/init.h>
18
19#include <asm/mpc85xx.h>
20#include <asm/mmu.h>
21
22/* ************************************************************************ */
23/* Return the value of CCSRBAR for the current board */
24
25phys_addr_t
26get_ccsrbar(void)
27{
28 return BOARD_CCSRBAR;
29}
30
31EXPORT_SYMBOL(get_ccsrbar);
Kumar Galaf50b1532005-04-16 15:24:22 -070032
33/* For now this is a pass through */
34phys_addr_t fixup_bigphys_addr(phys_addr_t addr, phys_addr_t size)
35{
36 return addr;
37};
38EXPORT_SYMBOL(fixup_bigphys_addr);
39