[arista]: Change kernel param for smartsville (#56)

This commit is contained in:
byu343 2020-04-19 10:43:36 -07:00 committed by Guohan Lu
parent b171960bc1
commit e7075907f9

View File

@ -321,10 +321,14 @@ platform_specific() {
echo "iommu=on intel_iommu=on" >>/tmp/append
read_system_eeprom
fi
if in_array "$platform" "crow" "woodpecker" "magpie"; then
if in_array "$platform" "crow" "magpie"; then
echo "amd_iommu=off modprobe.blacklist=snd_hda_intel,hdaudio" >> /tmp/append
read_system_eeprom
fi
if in_array "$platform" "woodpecker"; then
echo "modprobe.blacklist=snd_hda_intel,hdaudio" >> /tmp/append
read_system_eeprom
fi
if [ $flash_size -ge 28000 ]; then
varlog_size=4096