ppc85xx_common.c 916 B

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