/* * (C) Copyright 2009, 2010
 * Allied Telesis <www.alliedtelesis.com>
 * Marvell Semiconductor <www.marvell.com>
 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
 *
 * See file CREDITS for list of people who contributed to this
 * project.
 *
 * 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.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA 02110-1301 USA
 */

#ifndef __SBX81CFC_H
#define __SBX81CFC_H

#define SBX81CFC_OE	(~((1 << 2) | (1 << 4) | \
			   (1 << 6) | (1 << 7)))	/* GPIO output for FPGA programming */
#define SBX81CFC_OE_VAL	(0)

#define SBX81CFC_FPGA_BASE ((uint8*)0xf2000000)

int cfc_dx160_setup(void);
void try_bootp_boot(void);

#endif /* __SBX81CFC_H */
