summaryrefslogtreecommitdiff
path: root/board/lge/sniper/sniper.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/lge/sniper/sniper.c')
-rw-r--r--board/lge/sniper/sniper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/lge/sniper/sniper.c b/board/lge/sniper/sniper.c
index a43f640ecf..ae9fe69346 100644
--- a/board/lge/sniper/sniper.c
+++ b/board/lge/sniper/sniper.c
@@ -92,9 +92,9 @@ int board_init(void)
int misc_init_r(void)
{
unsigned char keypad_matrix[64] = { 0 };
+ unsigned int die_id[4] = { 0 };
char serial_string[17] = { 0 };
char reboot_mode[2] = { 0 };
- u32 dieid[4] = { 0 };
unsigned char keys[3];
unsigned char data = 0;
@@ -140,11 +140,11 @@ int misc_init_r(void)
/* Serial number */
- get_dieid((u32 *)&dieid);
+ omap_die_id(die_id);
if (!getenv("serial#")) {
snprintf(serial_string, sizeof(serial_string),
- "%08x%08x", dieid[0], dieid[3]);
+ "%08x%08x", die_id[0], die_id[3]);
setenv("serial#", serial_string);
}