Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153743
b: refs/heads/master
c: 3fade49
h: refs/heads/master
i:
  153741: 6bf37e3
  153739: 1fb5655
  153735: b8717fc
  153727: 79896b6
v: v3
  • Loading branch information
Nicolas Pitre committed Jun 15, 2009
1 parent 6b5d225 commit 6615467
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 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: 97f8a27a5cfb08c9ce3abc90aaafb791759aed94
refs/heads/master: 3fade49b734cca2d8c4f1bcd7c3023302b557f3b
10 changes: 9 additions & 1 deletion trunk/arch/arm/mach-orion5x/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ static struct platform_device orion5x_crypto_device = {
.resource = orion5x_crypto_res,
};

int __init orion5x_crypto_init(void)
static int __init orion5x_crypto_init(void)
{
int ret;

Expand Down Expand Up @@ -696,6 +696,14 @@ void __init orion5x_init(void)
disable_hlt();
}

/*
* The 5082/5181l/5182/6082/6082l/6183 have crypto
* while 5180n/5181/5281 don't have crypto.
*/
if ((dev == MV88F5181_DEV_ID && rev >= MV88F5181L_REV_A0) ||
dev == MV88F5182_DEV_ID || dev == MV88F6183_DEV_ID)
orion5x_crypto_init();

/*
* Register watchdog driver
*/
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-orion5x/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void orion5x_spi_init(void);
void orion5x_uart0_init(void);
void orion5x_uart1_init(void);
void orion5x_xor_init(void);
int orion5x_crypto_init(void);

/*
* PCIe/PCI functions.
Expand Down

0 comments on commit 6615467

Please sign in to comment.