blob: f20d58b4de629cd8f853ef4bd9bb3e3ecb276827 [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
Tom Rini923a8552022-07-23 13:05:09 -040023 select SYS_FSL_IFC_BE
Pali Rohár5af42ea2022-08-03 13:24:42 +020024 select BINMAN if MPC85XX_HAVE_RESET_VECTOR && OF_SEPARATE
Simon Glass551c3932017-05-17 03:25:25 -060025 imply CMD_HASH
Simon Glass1b330892017-05-17 03:25:39 -060026 imply CMD_IRQ
Michal Simek58008cb2018-07-23 15:55:15 +020027 imply USB_EHCI_HCD if USB
Masahiro Yamadadd840582014-07-30 14:08:14 +090028
Christophe Leroyee1e6002018-03-16 17:20:41 +010029config MPC8xx
Christophe Leroy907208c2017-07-06 10:23:22 +020030 bool "MPC8xx"
Christophe Leroy02239392022-10-14 10:01:41 +020031 select CREATE_ARCH_SYMLINK
Christophe Leroyb3ede332018-03-16 17:20:51 +010032 select BOARD_EARLY_INIT_F
Christophe Leroyfa379222017-08-04 16:34:40 -060033 imply CMD_REGINFO
Christophe Leroy21eaade2023-04-03 10:27:39 +020034 imply WDT_MPC8xxx
Christophe Leroy907208c2017-07-06 10:23:22 +020035
Masahiro Yamadadd840582014-07-30 14:08:14 +090036endchoice
37
Tom Rinid58d0662022-11-19 18:45:12 -050038config FSL_LBC
39 def_bool y
40 depends on (MPC85xx || MPC83xx) && !FSL_IFC
41
Mario Six93de2532019-01-21 09:17:56 +010042config HIGH_BATS
43 bool "Enable high BAT registers"
44 help
45 Enable BATs (block address translation registers) 4-7 on machines
46 that support them.
47
Tom Rinid3d0b5b2022-10-28 20:26:55 -040048config SYS_INIT_RAM_LOCK
49 bool "Lock some portion of L1 for initial ram stack"
50 depends on MPC83xx || MPC85xx
51
Tom Rini97396cc2022-11-16 13:10:39 -050052config SYS_SRIO
53 bool "Serial RapidIO support"
54
55config SRIO1
56 bool "Board has SRIO 1 port available"
57 depends on SYS_SRIO
58
59config SRIO2
60 bool "Board has SRIO 2 port available"
61 depends on SYS_SRIO
62
63config SRIO_PCIE_BOOT_MASTER
64 bool "Board can support master function for Boot from SRIO and PCIE"
65 depends on SYS_SRIO
66
Masahiro Yamadadd840582014-07-30 14:08:14 +090067source "arch/powerpc/cpu/mpc83xx/Kconfig"
68source "arch/powerpc/cpu/mpc85xx/Kconfig"
Christophe Leroy907208c2017-07-06 10:23:22 +020069source "arch/powerpc/cpu/mpc8xx/Kconfig"
Rasmus Villemoes729c1fe2021-04-21 11:16:03 +020070source "arch/powerpc/lib/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +090071
Tom Rini54f80dd2022-12-02 16:42:27 -050072config USE_UBOOTPATH
73 bool "Set a default 'uboot' value in the environment"
74 help
75 Many default environment scripts will check the "uboot" variable
76 to determine the name of the file to load via tftp that will then
77 be written to flash.
78
79config UBOOTPATH
80 string "Value of the default 'uboot' value in the environment"
81 depends on USE_UBOOTPATH
82 default "u-boot.bin"
83
Masahiro Yamadadd840582014-07-30 14:08:14 +090084endmenu