Adjust function tweaks to do it inside rootfs

This commit is contained in:
SuperKali 2024-12-11 08:53:11 +00:00 committed by Igor
parent 268301b2d6
commit fd02619dfa

View File

@ -52,9 +52,9 @@ function post_family_config__youyeetoo_r1_use_mainline_uboot() {
}
}
function post_family_tweaks_bsp__youyeetoo_r1_extras {
function post_family_tweaks__youyeetoo_r1 {
if [[ "${BRANCH}" != "vendor" ]]; then
display_alert "$BOARD" "Adjusting rtw89_8852be modules" "info"
display_alert "$BOARD" "Adjusting rtw89_8852be module" "info"
cat <<- EOF > "${SDCARD}/etc/modprobe.d/rtw8852be.conf"
options rtw89_pci disable_aspm_l1=y disable_aspm_l1ss=y
options rtw89pci disable_aspm_l1=y disable_aspm_l1ss=y