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 | b7df908 | 2022-10-14 10:01:41 +0200 | [diff] [blame^] | 31 | select CREATE_ARCH_SYMLINK |
Christophe Leroy | c085795 | 2018-03-16 17:20:51 +0100 | [diff] [blame] | 32 | select BOARD_EARLY_INIT_F |
Christophe Leroy | e538bbc | 2017-08-04 16:34:40 -0600 | [diff] [blame] | 33 | imply CMD_REGINFO |
Stefan Roese | 777fb0b | 2019-04-11 15:58:46 +0200 | [diff] [blame] | 34 | imply WDT_MPC8xx |
Christophe Leroy | 069fa83 | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 35 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 36 | endchoice |
| 37 | |
Tom Rini | 9635ef1 | 2022-11-19 18:45:12 -0500 | [diff] [blame] | 38 | config FSL_LBC |
| 39 | def_bool y |
| 40 | depends on (MPC85xx || MPC83xx) && !FSL_IFC |
| 41 | |
Mario Six | 4a50e56 | 2019-01-21 09:17:56 +0100 | [diff] [blame] | 42 | config 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 Rini | d17ab6a | 2022-10-28 20:26:55 -0400 | [diff] [blame] | 48 | config SYS_INIT_RAM_LOCK |
| 49 | bool "Lock some portion of L1 for initial ram stack" |
| 50 | depends on MPC83xx || MPC85xx |
| 51 | |
Tom Rini | 2600032 | 2022-11-16 13:10:39 -0500 | [diff] [blame] | 52 | config SYS_SRIO |
| 53 | bool "Serial RapidIO support" |
| 54 | |
| 55 | config SRIO1 |
| 56 | bool "Board has SRIO 1 port available" |
| 57 | depends on SYS_SRIO |
| 58 | |
| 59 | config SRIO2 |
| 60 | bool "Board has SRIO 2 port available" |
| 61 | depends on SYS_SRIO |
| 62 | |
| 63 | config SRIO_PCIE_BOOT_MASTER |
| 64 | bool "Board can support master function for Boot from SRIO and PCIE" |
| 65 | depends on SYS_SRIO |
| 66 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 67 | source "arch/powerpc/cpu/mpc83xx/Kconfig" |
| 68 | source "arch/powerpc/cpu/mpc85xx/Kconfig" |
Christophe Leroy | 069fa83 | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 69 | source "arch/powerpc/cpu/mpc8xx/Kconfig" |
Rasmus Villemoes | dc32275 | 2021-04-21 11:16:03 +0200 | [diff] [blame] | 70 | source "arch/powerpc/lib/Kconfig" |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 71 | |
Tom Rini | 1479a83 | 2022-12-02 16:42:27 -0500 | [diff] [blame] | 72 | config 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 | |
| 79 | config UBOOTPATH |
| 80 | string "Value of the default 'uboot' value in the environment" |
| 81 | depends on USE_UBOOTPATH |
| 82 | default "u-boot.bin" |
| 83 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 84 | endmenu |