blob: e0801c25941cdac6bb3bd1c1e69c6099866ae0de [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "PowerPC architecture"
2 depends on PPC
3
4config SYS_ARCH
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09005 default "powerpc"
6
7choice
8 prompt "CPU select"
Joe Hershbergerf0699602015-05-12 14:46:23 -05009 optional
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090010
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090011config MPC83xx
12 bool "MPC83xx"
Masahiro Yamada58654502015-07-15 20:59:29 +090013 select CREATE_ARCH_SYMLINK
York Sun92c36e22016-12-28 08:43:30 -080014 select SYS_FSL_HAS_SEC
York Sunfa4199422016-12-28 08:43:31 -080015 select SYS_FSL_SEC_BE
York Sun92c36e22016-12-28 08:43:30 -080016 select SYS_FSL_SEC_COMPAT_2
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090017
18config MPC85xx
19 bool "MPC85xx"
Masahiro Yamada58654502015-07-15 20:59:29 +090020 select CREATE_ARCH_SYMLINK
York Sund297d392016-12-28 08:43:40 -080021 select SYS_FSL_DDR
22 select SYS_FSL_DDR_BE
Tom Rinif4ec7132022-07-23 13:05:09 -040023 select SYS_FSL_IFC_BE
Pali Rohára073a9c2022-08-03 13:24:42 +020024 select BINMAN if MPC85XX_HAVE_RESET_VECTOR && OF_SEPARATE
Simon Glass027608e2017-05-17 03:25:25 -060025 imply CMD_HASH
Simon Glass4c3a6202017-05-17 03:25:39 -060026 imply CMD_IRQ
Michal Simek7e7ba3b2018-07-23 15:55:15 +020027 imply USB_EHCI_HCD if USB
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090028
Christophe Leroyb3510fb2018-03-16 17:20:41 +010029config MPC8xx
Christophe Leroy069fa832017-07-06 10:23:22 +020030 bool "MPC8xx"
Christophe Leroyc0857952018-03-16 17:20:51 +010031 select BOARD_EARLY_INIT_F
Christophe Leroye538bbc2017-08-04 16:34:40 -060032 imply CMD_REGINFO
Stefan Roese777fb0b2019-04-11 15:58:46 +020033 imply WDT_MPC8xx
Christophe Leroy069fa832017-07-06 10:23:22 +020034
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090035endchoice
36
Tom Rini9635ef12022-11-19 18:45:12 -050037config FSL_LBC
38 def_bool y
39 depends on (MPC85xx || MPC83xx) && !FSL_IFC
40
Mario Six4a50e562019-01-21 09:17:56 +010041config HIGH_BATS
42 bool "Enable high BAT registers"
43 help
44 Enable BATs (block address translation registers) 4-7 on machines
45 that support them.
46
Tom Rinid17ab6a2022-10-28 20:26:55 -040047config SYS_INIT_RAM_LOCK
48 bool "Lock some portion of L1 for initial ram stack"
49 depends on MPC83xx || MPC85xx
50
Tom Rini26000322022-11-16 13:10:39 -050051config SYS_SRIO
52 bool "Serial RapidIO support"
53
54config SRIO1
55 bool "Board has SRIO 1 port available"
56 depends on SYS_SRIO
57
58config SRIO2
59 bool "Board has SRIO 2 port available"
60 depends on SYS_SRIO
61
62config SRIO_PCIE_BOOT_MASTER
63 bool "Board can support master function for Boot from SRIO and PCIE"
64 depends on SYS_SRIO
65
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090066source "arch/powerpc/cpu/mpc83xx/Kconfig"
67source "arch/powerpc/cpu/mpc85xx/Kconfig"
Christophe Leroy069fa832017-07-06 10:23:22 +020068source "arch/powerpc/cpu/mpc8xx/Kconfig"
Rasmus Villemoesdc322752021-04-21 11:16:03 +020069source "arch/powerpc/lib/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090070
Tom Rini1479a832022-12-02 16:42:27 -050071config USE_UBOOTPATH
72 bool "Set a default 'uboot' value in the environment"
73 help
74 Many default environment scripts will check the "uboot" variable
75 to determine the name of the file to load via tftp that will then
76 be written to flash.
77
78config UBOOTPATH
79 string "Value of the default 'uboot' value in the environment"
80 depends on USE_UBOOTPATH
81 default "u-boot.bin"
82
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090083endmenu