Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/*
2 * MPC85xx support routines
3 *
4 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
5 *
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);
32
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