--- +++ 2010-12-19 14:31:59.034429012 @@ -171,6 +171,13 @@ +config MK10 + bool "Phenom/Phenom-II/Athlon-II/K10/10h" + help + Select this for an AMD K10-family processor. Also known as Family + 10h. Enables use of some extended instructions, and passes + appropriate optimization flags to GCC. + @@ -313,7 +320,7 @@ - default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MATOM || MVIAC7 || + default "6" if MK7 || MK8 || MK10 || MPENTIUMM || MCORE2 || MATOM || @@ -364,11 +371,11 @@ - depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || + depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || - depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || + depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || @@ -396,7 +403,7 @@ - depends on ((MWINCHIP3D || MCRUSOE || MEFFICEON || MCYRIXIII || MK7 || + depends on ((MWINCHIP3D || MCRUSOE || MEFFICEON || MCYRIXIII || MK7 || @@ -406,7 +413,7 @@ - depends on (MK8 || MK7 || MCORE2 || MPENTIUM4 || MPENTIUMM || + depends on (MK10 || MK8 || MK7 || MCORE2 || MPENTIUM4 || MPENTIUMM || @@ -51,6 +51,7 @@ + cflags-$(CONFIG_MK10) += $(call cc-option,-march=amdfam10) @@ -25,6 +25,7 @@ +clfags-$(CONFIG_MK10) += $(call cc-option,-march=amdfam10)