Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303198
b: refs/heads/master
c: be20dbc
h: refs/heads/master
v: v3
  • Loading branch information
Roland Stigge committed Apr 22, 2012
1 parent c9135b7 commit 708e0b8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f5c422713308e492eddc44a12134f9f249ddfbdb
refs/heads/master: be20dbc87879582e121e0525adcada13b3a8f476
13 changes: 13 additions & 0 deletions trunk/arch/arm/mach-lpc32xx/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,16 @@ void lpc23xx_restart(char mode, const char *cmd)
while (1)
;
}

static int __init lpc32xx_display_uid(void)
{
u32 uid[4];

lpc32xx_get_uid(uid);

printk(KERN_INFO "LPC32XX unique ID: %08x%08x%08x%08x\n",
uid[3], uid[2], uid[1], uid[0]);

return 1;
}
arch_initcall(lpc32xx_display_uid);
13 changes: 0 additions & 13 deletions trunk/arch/arm/mach-lpc32xx/phy3250.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,19 +310,6 @@ static void __init lpc3250_machine_init(void)
SPI0_CS_GPIO);
}

static int __init lpc32xx_display_uid(void)
{
u32 uid[4];

lpc32xx_get_uid(uid);

printk(KERN_INFO "LPC32XX unique ID: %08x%08x%08x%08x\n",
uid[3], uid[2], uid[1], uid[0]);

return 1;
}
arch_initcall(lpc32xx_display_uid);

static char const *lpc32xx_dt_compat[] __initdata = {
"nxp,lpc3220",
"nxp,lpc3230",
Expand Down

0 comments on commit 708e0b8

Please sign in to comment.