Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 1 | menu "PowerPC architecture" |
| 2 | depends on PPC |
| 3 | |
| 4 | config SYS_ARCH |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 5 | default "powerpc" |
| 6 | |
| 7 | choice |
| 8 | prompt "CPU select" |
Joe Hershberger | a26cd04 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 9 | optional |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 10 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 11 | config MPC83xx |
| 12 | bool "MPC83xx" |
Masahiro Yamada | a350c6a | 2015-07-15 20:59:29 +0900 | [diff] [blame] | 13 | select CREATE_ARCH_SYMLINK |
York Sun | 2c2e2c9 | 2016-12-28 08:43:30 -0800 | [diff] [blame] | 14 | select SYS_FSL_HAS_SEC |
York Sun | 90b8038 | 2016-12-28 08:43:31 -0800 | [diff] [blame] | 15 | select SYS_FSL_SEC_BE |
York Sun | 2c2e2c9 | 2016-12-28 08:43:30 -0800 | [diff] [blame] | 16 | select SYS_FSL_SEC_COMPAT_2 |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 17 | |
| 18 | config MPC85xx |
| 19 | bool "MPC85xx" |
Masahiro Yamada | a350c6a | 2015-07-15 20:59:29 +0900 | [diff] [blame] | 20 | select CREATE_ARCH_SYMLINK |
York Sun | d26e34c | 2016-12-28 08:43:40 -0800 | [diff] [blame] | 21 | select SYS_FSL_DDR |
| 22 | select SYS_FSL_DDR_BE |
Tom Rini | 923a855 | 2022-07-23 13:05:09 -0400 | [diff] [blame] | 23 | select SYS_FSL_IFC_BE |
Pali Rohár | 5af42ea | 2022-08-03 13:24:42 +0200 | [diff] [blame] | 24 | select BINMAN if MPC85XX_HAVE_RESET_VECTOR && OF_SEPARATE |
Simon Glass | 551c393 | 2017-05-17 03:25:25 -0600 | [diff] [blame] | 25 | imply CMD_HASH |
Simon Glass | 1b33089 | 2017-05-17 03:25:39 -0600 | [diff] [blame] | 26 | imply CMD_IRQ |
Michal Simek | 58008cb | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 27 | imply USB_EHCI_HCD if USB |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 28 | |
Christophe Leroy | ee1e600 | 2018-03-16 17:20:41 +0100 | [diff] [blame] | 29 | config MPC8xx |
Christophe Leroy | 907208c | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 30 | bool "MPC8xx" |
Christophe Leroy | 0223939 | 2022-10-14 10:01:41 +0200 | [diff] [blame] | 31 | select CREATE_ARCH_SYMLINK |
Christophe Leroy | b3ede33 | 2018-03-16 17:20:51 +0100 | [diff] [blame] | 32 | select BOARD_EARLY_INIT_F |
Christophe Leroy | fa37922 | 2017-08-04 16:34:40 -0600 | [diff] [blame] | 33 | imply CMD_REGINFO |
Christophe Leroy | 21eaade | 2023-04-03 10:27:39 +0200 | [diff] [blame] | 34 | imply WDT_MPC8xxx |
Christophe Leroy | 907208c | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 35 | |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 36 | endchoice |
| 37 | |
Tom Rini | d58d066 | 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 | 93de253 | 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 | d3d0b5b | 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 | 97396cc | 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 | dd84058 | 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 | 907208c | 2017-07-06 10:23:22 +0200 | [diff] [blame] | 69 | source "arch/powerpc/cpu/mpc8xx/Kconfig" |
Rasmus Villemoes | 729c1fe | 2021-04-21 11:16:03 +0200 | [diff] [blame] | 70 | source "arch/powerpc/lib/Kconfig" |
Masahiro Yamada | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 71 | |
Tom Rini | 54f80dd | 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 | dd84058 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 84 | endmenu |