summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/ti/evm/evm.c4
-rw-r--r--board/ti/evm/evm.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c
index 09d14f7..c2b6350 100644
--- a/board/ti/evm/evm.c
+++ b/board/ti/evm/evm.c
@@ -37,9 +37,9 @@
#include <asm/mach-types.h>
#include "evm.h"
-static u8 omap3_evm_version;
+static u32 omap3_evm_version;
-u8 get_omap3_evm_rev(void)
+u32 get_omap3_evm_rev(void)
{
return omap3_evm_version;
}
diff --git a/board/ti/evm/evm.h b/board/ti/evm/evm.h
index a76deb8..b721ad6 100644
--- a/board/ti/evm/evm.h
+++ b/board/ti/evm/evm.h
@@ -45,7 +45,7 @@ enum {
OMAP3EVM_BOARD_GEN_2, /* EVM Rev >= Rev E */
};
-u8 get_omap3_evm_rev(void);
+u32 get_omap3_evm_rev(void);
#if defined(CONFIG_CMD_NET)
static void setup_net_chip(void);