/*
 * arch/ppc/syslib/ppc85xx_common.h
 *
 * 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.
 */

#ifndef __PPC_SYSLIB_PPC85XX_COMMON_H
#define __PPC_SYSLIB_PPC85XX_COMMON_H

#include <linux/config.h>
#include <linux/init.h>
#include <asm/ocp.h>

/* Provide access to ccsrbar for any modules, etc */
phys_addr_t get_ccsrbar(void);

/* Update the 85xx OCP tables paddr field */
void mpc85xx_update_paddr_ocp(struct ocp_device *dev, void *ccsrbar);

#endif /* __PPC_SYSLIB_PPC85XX_COMMON_H */
