/* 2012-09-16: File added by Sony Corporation */
/* icx_etc.h
 *
 * Copyright 2011 Sony Corporation.
 *
 * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 *
 */

#ifndef __ICX_ETC_H__
#define __ICX_ETC_H__

#ifdef EMXX_MINIBOOT
/*********************/
/* for Board setting */
/*********************/

extern void icx_etc_board_init(void);
#ifdef CONFIG_EMXX_SDBOOT
extern void icx_etc_install_error(void);
#endif /* CONFIG_EMXX_SDBOOT */
#endif /* EMXX_MINIBOOT */

/******************/
/* for Clock mode */
/******************/

#define CLOCK_MODE_NORMAL_A     1
#define CLOCK_MODE_NORMAL_B     2
#define CLOCK_MODE_NORMAL_C     3
#define CLOCK_MODE_NORMAL_D     4

extern void icx_etc_select_clock_mode(unsigned int mode);

#endif /* __ICX_ETC_H_ */
