Revert "fix(deck): Add workaround for 64GB eMMC firmware issue"

This reverts commit e0e4c7e22e9a18ab898ab8fe8e59d448ee5ddf27.
This commit is contained in:
Kyle Gospodnetich 2023-08-15 16:30:22 -07:00
parent 268d94a53c
commit 4ae0cb389b

View File

@ -52,18 +52,6 @@ if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "initcall_blacklist" ]]; then
NEEDED_KARGS="$NEEDED_KARGS --append=initcall_blacklist=simpledrm_platform_driver_init"
fi
if grep -q '64GB' <<< $(lsblk -o MODEL); then
if [[ ! $KARGS =~ "default_ps_max_latency_us" ]]; then
echo "64GB eMMC detected, adding default_ps_max_latency_us workaround for firmware issue"
NEEDED_KARGS="$NEEDED_KARGS --append=nvme_core.default_ps_max_latency_us=0"
fi
if [[ ! $KARGS =~ "pci_aspm" ]]; then
echo "64GB eMMC detected, adding pci_aspm workaround for firmware issue"
NEEDED_KARGS="$NEEDED_KARGS --append=pci_aspm=performance"
fi
fi
fi
if [[ $IMAGE_NAME =~ "nvidia" ]]; then