Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 1 | menu "PowerPC architecture" |
| 2 | depends on PPC |
| 3 | |
| 4 | config SYS_ARCH |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 5 | default "powerpc" |
| 6 | |
| 7 | choice |
| 8 | prompt "CPU select" |
Joe Hershberger | f069960 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 9 | optional |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 10 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 11 | config MPC83xx |
| 12 | bool "MPC83xx" |
Masahiro Yamada | 5865450 | 2015-07-15 20:59:29 +0900 | [diff] [blame] | 13 | select CREATE_ARCH_SYMLINK |
York Sun | 92c36e2 | 2016-12-28 08:43:30 -0800 | [diff] [blame] | 14 | select SYS_FSL_HAS_SEC |
York Sun | fa419942 | 2016-12-28 08:43:31 -0800 | [diff] [blame] | 15 | select SYS_FSL_SEC_BE |
York Sun | 92c36e2 | 2016-12-28 08:43:30 -0800 | [diff] [blame] | 16 | select SYS_FSL_SEC_COMPAT_2 |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 17 | |
| 18 | config MPC85xx |
| 19 | bool "MPC85xx" |
Masahiro Yamada | 5865450 | 2015-07-15 20:59:29 +0900 | [diff] [blame] | 20 | select CREATE_ARCH_SYMLINK |
York Sun | d297d39 | 2016-12-28 08:43:40 -0800 | [diff] [blame] | 21 | select SYS_FSL_DDR |
| 22 | select SYS_FSL_DDR_BE |
Tom Rini | f4ec713 | 2022-07-23 13:05:09 -0400 | [diff] [blame] | 23 | select SYS_FSL_IFC_BE |
Pali Rohár | a073a9c | 2022-08-03 13:24:42 +0200 | [diff] [blame] | 24 | select BINMAN if MPC85XX_HAVE_RESET_VECTOR && OF_SEPARATE |
Simon Glass | 027608e | 2017-05-17 03:25:25 -0600 | [diff] [blame] | 25 | imply CMD_HASH |
Simon Glass | 4c3a620 | 2017-05-17 03:25:39 -0600 | [diff] [blame] | 26 | imply CMD_IRQ |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 27 | imply USB_EHCI_HCD if USB |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 28 | |
Christophe Leroy | b3510fb | 2018-03-16 17:20:41 +0100 | [diff] [blame] | 29 | config MPC8xx |
Christophe Leroy | 069fa83 | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 30 | bool "MPC8xx" |
Christophe Leroy | c085795 | 2018-03-16 17:20:51 +0100 | [diff] [blame] | 31 | select BOARD_EARLY_INIT_F |
Christophe Leroy | e538bbc | 2017-08-04 16:34:40 -0600 | [diff] [blame] | 32 | imply CMD_REGINFO |
Stefan Roese | 777fb0b | 2019-04-11 15:58:46 +0200 | [diff] [blame] | 33 | imply WDT_MPC8xx |
Christophe Leroy | 069fa83 | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 34 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 35 | endchoice |
| 36 | |
Tom Rini | 9635ef1 | 2022-11-19 18:45:12 -0500 | [diff] [blame] | 37 | config FSL_LBC |
| 38 | def_bool y |
| 39 | depends on (MPC85xx || MPC83xx) && !FSL_IFC |
| 40 | |
Mario Six | 4a50e56 | 2019-01-21 09:17:56 +0100 | [diff] [blame] | 41 | config 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 Rini | d17ab6a | 2022-10-28 20:26:55 -0400 | [diff] [blame] | 47 | config SYS_INIT_RAM_LOCK |
| 48 | bool "Lock some portion of L1 for initial ram stack" |
| 49 | depends on MPC83xx || MPC85xx |
| 50 | |
Tom Rini | 2600032 | 2022-11-16 13:10:39 -0500 | [diff] [blame] | 51 | config SYS_SRIO |
| 52 | bool "Serial RapidIO support" |
| 53 | |
| 54 | config SRIO1 |
| 55 | bool "Board has SRIO 1 port available" |
| 56 | depends on SYS_SRIO |
| 57 | |
| 58 | config SRIO2 |
| 59 | bool "Board has SRIO 2 port available" |
| 60 | depends on SYS_SRIO |
| 61 | |
| 62 | config SRIO_PCIE_BOOT_MASTER |
| 63 | bool "Board can support master function for Boot from SRIO and PCIE" |
| 64 | depends on SYS_SRIO |
| 65 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 66 | source "arch/powerpc/cpu/mpc83xx/Kconfig" |
| 67 | source "arch/powerpc/cpu/mpc85xx/Kconfig" |
Christophe Leroy | 069fa83 | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 68 | source "arch/powerpc/cpu/mpc8xx/Kconfig" |
Rasmus Villemoes | dc32275 | 2021-04-21 11:16:03 +0200 | [diff] [blame] | 69 | source "arch/powerpc/lib/Kconfig" |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 70 | |
Tom Rini | 1479a83 | 2022-12-02 16:42:27 -0500 | [diff] [blame] | 71 | config 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 | |
| 78 | config UBOOTPATH |
| 79 | string "Value of the default 'uboot' value in the environment" |
| 80 | depends on USE_UBOOTPATH |
| 81 | default "u-boot.bin" |
| 82 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 83 | endmenu |