summaryrefslogtreecommitdiff
path: root/board/keymile/common/ivm.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-10-09 10:06:40 -0400
committerTom Rini <trini@ti.com>2013-10-09 10:06:40 -0400
commit3be2bdf5dc69b3142c1162a59bc67191c9077567 (patch)
treeece764111ded1f96162f074d3c3736d6e2d5c251 /board/keymile/common/ivm.c
parentdf166cc9f400d00c80367823d95bc3485bf02dba (diff)
parent283857dac752d4253cd211eb94d3201d2248e173 (diff)
downloadu-boot-imx-3be2bdf5dc69b3142c1162a59bc67191c9077567.zip
u-boot-imx-3be2bdf5dc69b3142c1162a59bc67191c9077567.tar.gz
u-boot-imx-3be2bdf5dc69b3142c1162a59bc67191c9077567.tar.bz2
Merge branch 'next' of git://git.denx.de/u-boot-mpc83xx
Diffstat (limited to 'board/keymile/common/ivm.c')
-rw-r--r--board/keymile/common/ivm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c
index aabd3a8..f0e91bb 100644
--- a/board/keymile/common/ivm.c
+++ b/board/keymile/common/ivm.c
@@ -10,7 +10,7 @@
#include <i2c.h>
#include "common.h"
-int ivm_calc_crc(unsigned char *buf, int len)
+static int ivm_calc_crc(unsigned char *buf, int len)
{
const unsigned short crc_tab[16] = {
0x0000, 0xCC01, 0xD801, 0x1400,
@@ -236,7 +236,7 @@ static int ivm_analyze_block2(unsigned char *buf, int len)
return 0;
}
-int ivm_analyze_eeprom(unsigned char *buf, int len)
+static int ivm_analyze_eeprom(unsigned char *buf, int len)
{
unsigned short val;
unsigned char valbuf[CONFIG_SYS_IVM_EEPROM_PAGE_LEN];