diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2015-01-19 13:29:44 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-02-04 15:49:59 +0100 |
commit | eb4a932c77750fc642343522b09bfebe44bd1343 (patch) | |
tree | a894f58f873b51b81a16bf22b1a373123328dea6 /arch/arm/mach-bcm2835/mbox.c | |
parent | f72725e352fd8dfd38d622433dd5f626625b8402 (diff) | |
download | barebox-eb4a932c77750fc642343522b09bfebe44bd1343.tar.gz barebox-eb4a932c77750fc642343522b09bfebe44bd1343.tar.xz |
raspberry-pi: mac address detection support
increase the mbox timeout as it take more time to retreive the mac
fix led register too
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-bcm2835/mbox.c')
-rw-r--r-- | arch/arm/mach-bcm2835/mbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-bcm2835/mbox.c b/arch/arm/mach-bcm2835/mbox.c index 2bca567f39..1a8077182a 100644 --- a/arch/arm/mach-bcm2835/mbox.c +++ b/arch/arm/mach-bcm2835/mbox.c @@ -13,7 +13,7 @@ #include <mach/mbox.h> -#define TIMEOUT (MSECOND * 100) /* 100mS */ +#define TIMEOUT (MSECOND * 1000) static int bcm2835_mbox_call_raw(u32 chan, struct bcm2835_mbox_hdr *buffer, u32 *recv) |