mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 11:36:10 +01:00
milkv/pioneer: init
This commit is contained in:
parent
cac934beb3
commit
f4a07223a3
13 changed files with 402 additions and 0 deletions
15
milkv/pioneer/zsbl-increase-timeout.patch
Normal file
15
milkv/pioneer/zsbl-increase-timeout.patch
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
--- a/drivers/sd/sd.c
|
||||
+++ b/drivers/sd/sd.c
|
||||
@@ -560,11 +560,11 @@ static int bm_sd_read(int lba, uintptr_t buf, size_t size)
|
||||
} else {
|
||||
udelay(1);
|
||||
timeout++;
|
||||
}
|
||||
|
||||
- if (timeout >= 10000) {
|
||||
+ if (timeout >= 100000) {
|
||||
printf("sdhci read data timeout\n");
|
||||
goto timeout;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue