/** @file s5920-s5933-private.h
*
* @author Julien Krauth
*
* This module implements initialization functions.
*/

/** @par LICENCE
* @verbatim
 Copyright (C) 2004,2005  ADDI-DATA GmbH for the source code and the documentation.
        
        ADDI-DATA GmbH
        Dieselstrasse 3 
        D-77833 Ottersweier
        Tel: +19(0)7223/9493-0
        Fax: +49(0)7223/9493-92
        http://www.addi-data-com
        info@addi-data.com

    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 shoud find the complete GPL in the COPYING file accompanying 
    this source code. 
* @endverbatim
*/

#ifndef __s5920_s5933_PRIVATE_H__
#define __s5920_s5933_PRIVATE_H__

/** Some definitions for the s5920 / s5933 controller */
#define AMCC_OP_REG_MCSR_S5920	0x0000003C
#define AMCC_OP_REG_MCSR_S5933	0x0000003C

#define EEPROM_BUSY_S5920		0x80000000
#define EEPROM_BUSY_S5933		0x80

#define NVCMD_LOAD_LOW		(0x4 << 5)	// nvRam load low command
#define NVCMD_LOAD_HIGH		(0x5 << 5)	// nvRam load high command
#define NVCMD_BEGIN_READ	(0x7 << 5)	// nvRam begin read command
#define NVCMD_BEGIN_WRITE	(0x6 << 5)	// EEPROM begin write command

#include <eeprom.h>

#endif // #ifndef __s5920_s5933_PRIVATE_H__
