diff options
Diffstat (limited to 'arch/ppc/syslib/ppc85xx_common.c')
| -rw-r--r-- | arch/ppc/syslib/ppc85xx_common.c | 33 | 
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/ppc/syslib/ppc85xx_common.c b/arch/ppc/syslib/ppc85xx_common.c new file mode 100644 index 00000000000..e83f2f8686d --- /dev/null +++ b/arch/ppc/syslib/ppc85xx_common.c @@ -0,0 +1,33 @@ +/* + * arch/ppc/syslib/ppc85xx_common.c + * + * MPC85xx support routines + * + * Maintainer: Kumar Gala <kumar.gala@freescale.com> + * + * Copyright 2004 Freescale Semiconductor Inc. + * + * This program is free software; you can redistribute  it and/or modify it + * under  the terms of  the GNU General  Public License as published by the + * Free Software Foundation;  either version 2 of the  License, or (at your + * option) any later version. + */ + +#include <linux/config.h> +#include <linux/types.h> +#include <linux/module.h> +#include <linux/init.h> + +#include <asm/mpc85xx.h> +#include <asm/mmu.h> + +/* ************************************************************************ */ +/* Return the value of CCSRBAR for the current board */ + +phys_addr_t +get_ccsrbar(void) +{ +        return BOARD_CCSRBAR; +} + +EXPORT_SYMBOL(get_ccsrbar);  |