summaryrefslogtreecommitdiff
path: root/board/keymile/common/ivm.c
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2013-05-06 15:02:40 +0200
committerKim Phillips <kim.phillips@freescale.com>2013-05-21 18:04:33 -0500
commit283857dac752d4253cd211eb94d3201d2248e173 (patch)
tree7d2f3ce8c5c7f9d9e204d233d33c596a28daabe4 /board/keymile/common/ivm.c
parent1ca899c75c7af49710cc897c915015b093df1429 (diff)
downloadu-boot-imx-283857dac752d4253cd211eb94d3201d2248e173.zip
u-boot-imx-283857dac752d4253cd211eb94d3201d2248e173.tar.gz
u-boot-imx-283857dac752d4253cd211eb94d3201d2248e173.tar.bz2
powerpc/83xx/km: make local functions and structs static
Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
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 22d5256..0deed1d 100644
--- a/board/keymile/common/ivm.c
+++ b/board/keymile/common/ivm.c
@@ -26,7 +26,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,
@@ -252,7 +252,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];