blob: 737bdd8edb41c06a6625ebe90fff154e54547801 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "PowerPC architecture"
2 depends on PPC
3
4config SYS_ARCH
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "powerpc"
6
7choice
8 prompt "CPU select"
Joe Hershbergera26cd042015-05-12 14:46:23 -05009 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090010
Masahiro Yamadadd840582014-07-30 14:08:14 +090011config MPC83xx
12 bool "MPC83xx"
Masahiro Yamadaa350c6a2015-07-15 20:59:29 +090013 select CREATE_ARCH_SYMLINK
York Sun2c2e2c92016-12-28 08:43:30 -080014 select SYS_FSL_HAS_SEC
York Sun90b80382016-12-28 08:43:31 -080015 select SYS_FSL_SEC_BE
York Sun2c2e2c92016-12-28 08:43:30 -080016 select SYS_FSL_SEC_COMPAT_2
Masahiro Yamadadd840582014-07-30 14:08:14 +090017
18config MPC85xx
19 bool "MPC85xx"
Masahiro Yamadaa350c6a2015-07-15 20:59:29 +090020 select CREATE_ARCH_SYMLINK
York Sund26e34c2016-12-28 08:43:40 -080021 select SYS_FSL_DDR
22 select SYS_FSL_DDR_BE
Simon Glassbe17bcb2020-07-19 13:56:02 -060023 select BINMAN if OF_SEPARATE
Simon Glass551c3932017-05-17 03:25:25 -060024 imply CMD_HASH
Simon Glass1b330892017-05-17 03:25:39 -060025 imply CMD_IRQ
Michal Simek58008cb2018-07-23 15:55:15 +020026 imply USB_EHCI_HCD if USB
Masahiro Yamadadd840582014-07-30 14:08:14 +090027
Christophe Leroyee1e6002018-03-16 17:20:41 +010028config MPC8xx
Christophe Leroy907208c2017-07-06 10:23:22 +020029 bool "MPC8xx"
Christophe Leroyb3ede332018-03-16 17:20:51 +010030 select BOARD_EARLY_INIT_F
Christophe Leroyfa379222017-08-04 16:34:40 -060031 imply CMD_REGINFO
Stefan Roesef3729ba2019-04-11 15:58:46 +020032 imply WDT_MPC8xx
Christophe Leroy907208c2017-07-06 10:23:22 +020033
Masahiro Yamadadd840582014-07-30 14:08:14 +090034endchoice
35
Mario Six93de2532019-01-21 09:17:56 +010036config HIGH_BATS
37 bool "Enable high BAT registers"
38 help
39 Enable BATs (block address translation registers) 4-7 on machines
40 that support them.
41
Masahiro Yamadadd840582014-07-30 14:08:14 +090042source "arch/powerpc/cpu/mpc83xx/Kconfig"
43source "arch/powerpc/cpu/mpc85xx/Kconfig"
Christophe Leroy907208c2017-07-06 10:23:22 +020044source "arch/powerpc/cpu/mpc8xx/Kconfig"
Rasmus Villemoes729c1fe2021-04-21 11:16:03 +020045source "arch/powerpc/lib/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +090046
47endmenu