Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 913659 | Differences between
and this patch

Collapse All | Expand All

(-)gen_configkernel.sh (-6 / +6 lines)
Lines 991-1001 Link Here
991
			[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode+=( 'CONFIG_MICROCODE_EARLY' )
991
			[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode+=( 'CONFIG_MICROCODE_EARLY' )
992
992
993
			# Intel
993
			# Intel
994
			kconfigs_microcode_intel+=( 'CONFIG_MICROCODE_INTEL' )
994
			kconfigs_microcode_intel+=( 'CONFIG_CPU_SUP_INTEL' )
995
			[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode_intel+=( 'CONFIG_MICROCODE_INTEL_EARLY' )
995
			[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode_intel+=( 'CONFIG_MICROCODE_INTEL_EARLY' )
996
996
997
			# AMD
997
			# AMD
998
			kconfigs_microcode_amd=( 'CONFIG_MICROCODE_AMD' )
998
			kconfigs_microcode_amd=( 'CONFIG_CPU_SUP_AMD' )
999
			[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode_amd+=( 'CONFIG_MICROCODE_AMD_EARLY' )
999
			[ ${KV_NUMERIC} -le 4003 ] && kconfigs_microcode_amd+=( 'CONFIG_MICROCODE_AMD_EARLY' )
1000
1000
1001
			[[ "${MICROCODE}" == all ]]   && kconfigs_microcode+=( ${kconfigs_microcode_amd[@]} ${kconfigs_microcode_intel[@]} )
1001
			[[ "${MICROCODE}" == all ]]   && kconfigs_microcode+=( ${kconfigs_microcode_amd[@]} ${kconfigs_microcode_intel[@]} )
Lines 1016-1029 Link Here
1016
			required_kernel_options+=( 'CONFIG_MICROCODE' )
1016
			required_kernel_options+=( 'CONFIG_MICROCODE' )
1017
			case "${MICROCODE}" in
1017
			case "${MICROCODE}" in
1018
				amd)
1018
				amd)
1019
					required_kernel_options+=( 'CONFIG_MICROCODE_AMD' )
1019
					required_kernel_options+=( 'CONFIG_CPU_SUP_AMD' )
1020
					;;
1020
					;;
1021
				intel)
1021
				intel)
1022
					required_kernel_options+=( 'CONFIG_MICROCODE_INTEL' )
1022
					required_kernel_options+=( 'CONFIG_CPU_SUP_INTEL' )
1023
					;;
1023
					;;
1024
				all)
1024
				all)
1025
					required_kernel_options+=( 'CONFIG_MICROCODE_AMD' )
1025
					required_kernel_options+=( 'CONFIG_CPU_SUP_AMD' )
1026
					required_kernel_options+=( 'CONFIG_MICROCODE_INTEL' )
1026
					required_kernel_options+=( 'CONFIG_CPU_SUP_INTEL' )
1027
					;;
1027
					;;
1028
			esac
1028
			esac
1029
		else
1029
		else

Return to bug 913659