summaryrefslogtreecommitdiff
path: root/board/keymile/common
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
parentdf166cc9f400d00c80367823d95bc3485bf02dba (diff)
parent283857dac752d4253cd211eb94d3201d2248e173 (diff)
Merge branch 'next' of git://git.denx.de/u-boot-mpc83xx
Diffstat (limited to 'board/keymile/common')
-rw-r--r--board/keymile/common/common.c4
-rw-r--r--board/keymile/common/ivm.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c
index 86b81102e9..136b2dee12 100644
--- a/board/keymile/common/common.c
+++ b/board/keymile/common/common.c
@@ -226,7 +226,7 @@ U_BOOT_CMD(km_setboardid, 1, 0, do_setboardid, "setboardid", "read out bid and "
* application and in the init scripts (?)
* return 0 in case of match, 1 if not match or error
*/
-int do_checkboardidhwk(cmd_tbl_t *cmdtp, int flag, int argc,
+static int do_checkboardidhwk(cmd_tbl_t *cmdtp, int flag, int argc,
char *const argv[])
{
unsigned long ivmbid = 0, ivmhwkey = 0;
@@ -367,7 +367,7 @@ U_BOOT_CMD(km_checkbidhwk, 2, 0, do_checkboardidhwk,
* if the testpin of the board is asserted, return 1
* * else return 0
*/
-int do_checktestboot(cmd_tbl_t *cmdtp, int flag, int argc,
+static int do_checktestboot(cmd_tbl_t *cmdtp, int flag, int argc,
char *const argv[])
{
int testpin = 0;
diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c
index aabd3a85b7..f0e91bbdfe 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];