ppc85xx_common.c 942 B

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