Lines 1021-1038
Link Here
|
1021 |
done |
1021 |
done |
1022 |
|
1022 |
|
1023 |
required_kernel_options+=( 'CONFIG_MICROCODE' ) |
1023 |
required_kernel_options+=( 'CONFIG_MICROCODE' ) |
1024 |
case "${MICROCODE}" in |
1024 |
if [ ${KV_NUMERIC} -lt 6006 ] |
1025 |
amd) |
1025 |
then |
1026 |
required_kernel_options+=( 'CONFIG_MICROCODE_AMD' ) |
1026 |
case "${MICROCODE}" in |
1027 |
;; |
1027 |
amd) |
1028 |
intel) |
1028 |
required_kernel_options+=( 'CONFIG_MICROCODE_AMD' ) |
1029 |
required_kernel_options+=( 'CONFIG_MICROCODE_INTEL' ) |
1029 |
;; |
1030 |
;; |
1030 |
intel) |
1031 |
all) |
1031 |
required_kernel_options+=( 'CONFIG_MICROCODE_INTEL' ) |
1032 |
required_kernel_options+=( 'CONFIG_MICROCODE_AMD' ) |
1032 |
;; |
1033 |
required_kernel_options+=( 'CONFIG_MICROCODE_INTEL' ) |
1033 |
all) |
1034 |
;; |
1034 |
required_kernel_options+=( 'CONFIG_MICROCODE_AMD' ) |
1035 |
esac |
1035 |
required_kernel_options+=( 'CONFIG_MICROCODE_INTEL' ) |
|
|
1036 |
;; |
1037 |
esac |
1038 |
fi |
1036 |
else |
1039 |
else |
1037 |
print_info 1 "$(get_indent 1)>> Ignoring --microcode parameter; Architecture does not support microcode loading ..." |
1040 |
print_info 1 "$(get_indent 1)>> Ignoring --microcode parameter; Architecture does not support microcode loading ..." |
1038 |
fi |
1041 |
fi |