linux/arch/ppc/syslib/ppc85xx_common.c
<<
>>
Prefs
   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/types.h>
  15#include <linux/module.h>
  16#include <linux/init.h>
  17
  18#include <asm/mpc85xx.h>
  19#include <asm/mmu.h>
  20
  21/* ************************************************************************ */
  22/* Return the value of CCSRBAR for the current board */
  23
  24phys_addr_t
  25get_ccsrbar(void)
  26{
  27        return BOARD_CCSRBAR;
  28}
  29
  30EXPORT_SYMBOL(get_ccsrbar);
  31
  32/* For now this is a pass through */
  33phys_addr_t fixup_bigphys_addr(phys_addr_t addr, phys_addr_t size)
  34{
  35        return addr;
  36};
  37EXPORT_SYMBOL(fixup_bigphys_addr);
  38
  39