mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-01 03:32:26 +03:00
asus-dumo: Uses the mainline kernel with a hack
This commit is contained in:
parent
b7f945aa69
commit
7adda4a8d5
@ -0,0 +1,31 @@
|
||||
From c17ac107ca60bea6bccd7acefe25104dca9923dc Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Dionne-Riel <samuel@dionne-riel.com>
|
||||
Date: Thu, 12 Sep 2019 15:40:28 -0400
|
||||
Subject: [PATCH] HACK: disables hs400es codepath
|
||||
|
||||
This is NOT a good fix. This is only to make the device usable
|
||||
for testing purposes.
|
||||
|
||||
---
|
||||
drivers/mmc/core/mmc.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
|
||||
index c8804895595f..525b90de160d 100644
|
||||
--- a/drivers/mmc/core/mmc.c
|
||||
+++ b/drivers/mmc/core/mmc.c
|
||||
@@ -1500,9 +1500,9 @@ static int mmc_select_timing(struct mmc_card *card)
|
||||
if (!mmc_can_ext_csd(card))
|
||||
goto bus_speed;
|
||||
|
||||
- if (card->mmc_avail_type & EXT_CSD_CARD_TYPE_HS400ES)
|
||||
+ /*if (card->mmc_avail_type & EXT_CSD_CARD_TYPE_HS400ES)
|
||||
err = mmc_select_hs400es(card);
|
||||
- else if (card->mmc_avail_type & EXT_CSD_CARD_TYPE_HS200)
|
||||
+ else */if (card->mmc_avail_type & EXT_CSD_CARD_TYPE_HS200)
|
||||
err = mmc_select_hs200(card);
|
||||
else if (card->mmc_avail_type & EXT_CSD_CARD_TYPE_HS)
|
||||
err = mmc_select_hs(card);
|
||||
--
|
||||
2.19.2
|
||||
|
5611
devices/asus-dumo/kernel/config.aarch64
Normal file
5611
devices/asus-dumo/kernel/config.aarch64
Normal file
File diff suppressed because it is too large
Load Diff
26
devices/asus-dumo/kernel/default.nix
Normal file
26
devices/asus-dumo/kernel/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
mobile-nixos
|
||||
, fetchFromGitHub
|
||||
, fetchgit
|
||||
, kernelPatches ? [] # FIXME
|
||||
}:
|
||||
|
||||
(mobile-nixos.kernel-builder {
|
||||
version = "5.3.0";
|
||||
configfile = ./config.aarch64;
|
||||
|
||||
hasDTB = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "torvalds";
|
||||
repo = "linux";
|
||||
rev = "v5.3";
|
||||
sha256 = "1iiv8fim1l4n7n7wkq0x4bf84ygrd1i7zaybmsphswsx1cpb5g6j";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./0001-HACK-disables-hs400es-codepath.patch
|
||||
];
|
||||
|
||||
isModular = false;
|
||||
})
|
Loading…
Reference in New Issue
Block a user