提交 d6690b1a 编写于 作者: C Christophe Leroy 提交者: Michael Ellerman

powerpc: Allow CPU selection of e300core variants

GCC supports -mcpu=e300c2 and -mcpu=e300c3

This patch gives the opportunity to tune kernel to one of
those two types.
Signed-off-by: NChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 0e00a8c9
...@@ -144,6 +144,14 @@ config 860_CPU ...@@ -144,6 +144,14 @@ config 860_CPU
bool "8xx family" bool "8xx family"
depends on PPC_8xx depends on PPC_8xx
config E300C2_CPU
bool "e300c2 (832x)"
depends on PPC_BOOK3S_32
config E300C3_CPU
bool "e300c3 (831x)"
depends on PPC_BOOK3S_32
endchoice endchoice
config TARGET_CPU_BOOL config TARGET_CPU_BOOL
...@@ -160,6 +168,8 @@ config TARGET_CPU ...@@ -160,6 +168,8 @@ config TARGET_CPU
default "power8" if POWER8_CPU default "power8" if POWER8_CPU
default "power9" if POWER9_CPU default "power9" if POWER9_CPU
default "860" if 860_CPU default "860" if 860_CPU
default "e300c2" if E300C2_CPU
default "e300c3" if E300C3_CPU
config PPC_BOOK3S config PPC_BOOK3S
def_bool y def_bool y
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册