#include "sbecom_inline_linux.h"
#include "pmcc4.h"
#include "sbe_promformat.h"
+#include "pmc93x6_eeprom.h"
#ifndef TRUE
#define TRUE 1
* the data to the EEPROM.
*/
-void
+static void
eeprom_put_byte (long addr, long data, int count)
{
u_int32_t output;
* from the EEPROM.
*/
-u_int32_t
+static u_int32_t
eeprom_get_byte (long addr)
{
u_int32_t input;
* the contents of the specified location to the calling routine.
*/
-u_int32_t
+static u_int32_t
pmc_eeprom_read (long addr, long mem_offset)
{
u_int32_t data; /* Data from chip */
* operation succeeded.
*/
-int
+static int
pmc_eeprom_write (long addr, long mem_offset, u_int32_t data)
{
volatile u_int32_t temp;
*------------------------------------------------------------------------
*/
-long
+static long
pmcGetBuffValue (char *ptr, int size)
{
long value = 0;
*------------------------------------------------------------------------
*/
-void
+static void
pmcSetBuffValue (char *ptr, long value, int size)
{
int index = size;
*------------------------------------------------------------------------
*/
-u_int32_t
+static u_int32_t
pmcCalcCrc_T01 (void *bufp)
{
FLD_TYPE2 *buf = bufp;
return ~crc;
}
-u_int32_t
+static u_int32_t
pmcCalcCrc_T02 (void *bufp)
{
FLD_TYPE2 *buf = bufp;