Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | # Copyright (C) 2019, Pascal Linder <pascal.linder@edu.hefr.ch> |
| 4 | |
| 5 | config VENDOR_KM |
| 6 | bool |
| 7 | help |
| 8 | Selected by any KM board to have additional configurations. |
| 9 | |
| 10 | if VENDOR_KM |
| 11 | |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 12 | menu "KM Board Setup" |
| 13 | |
| 14 | config KM_PNVRAM |
| 15 | hex "Pseudo RAM" |
| 16 | default 0x80000 |
Holger Brunck | ddef889 | 2020-02-19 19:55:14 +0100 | [diff] [blame] | 17 | depends on !ARCH_SOCFPGA |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 18 | help |
| 19 | Start address of the pseudo non-volatile RAM for application. |
| 20 | |
| 21 | config KM_PHRAM |
| 22 | hex "Physical RAM" |
Aleksandar Gerasimovski | 032bdbc | 2021-02-22 18:18:11 +0000 | [diff] [blame] | 23 | default 0x17F000 if ARM && !ARCH_LS1021A |
| 24 | default 0x100000 if PPC || ARCH_LS1021A |
Holger Brunck | ddef889 | 2020-02-19 19:55:14 +0100 | [diff] [blame] | 25 | depends on !ARCH_SOCFPGA |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 26 | help |
| 27 | Start address of the physical RAM, which is the mounted /var folder. |
| 28 | |
| 29 | config KM_RESERVED_PRAM |
| 30 | hex "Reserved RAM" |
Trevor Woerner | bb7ab07 | 2020-05-06 08:02:40 -0400 | [diff] [blame] | 31 | default 0x801000 if ARCH_KIRKWOOD |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 32 | default 0x0 if MPC83xx |
Aleksandar Gerasimovski | 032bdbc | 2021-02-22 18:18:11 +0000 | [diff] [blame] | 33 | default 0x1000 if MPC85xx || ARCH_LS1021A |
Holger Brunck | ddef889 | 2020-02-19 19:55:14 +0100 | [diff] [blame] | 34 | depends on !ARCH_SOCFPGA |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 35 | help |
| 36 | Reserved physical RAM area at the end of memory for special purposes. |
| 37 | |
| 38 | config KM_CRAMFS_ADDR |
| 39 | hex "CRAMFS Address" |
Aleksandar Gerasimovski | 032bdbc | 2021-02-22 18:18:11 +0000 | [diff] [blame] | 40 | default 0x83000000 if ARCH_LS1021A |
Holger Brunck | c7c7169 | 2020-10-09 17:21:32 +0200 | [diff] [blame] | 41 | default 0x3000000 |
Holger Brunck | ddef889 | 2020-02-19 19:55:14 +0100 | [diff] [blame] | 42 | depends on !ARCH_SOCFPGA |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 43 | help |
| 44 | Start address of the CRAMFS containing the Linux kernel. |
| 45 | |
| 46 | config KM_KERNEL_ADDR |
| 47 | hex "Kernel Load Address" |
Aleksandar Gerasimovski | 032bdbc | 2021-02-22 18:18:11 +0000 | [diff] [blame] | 48 | default 0x82000000 if ARCH_LS1021A |
Holger Brunck | c7c7169 | 2020-10-09 17:21:32 +0200 | [diff] [blame] | 49 | default 0x2000000 |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 50 | help |
| 51 | Address where to load Linux kernel in RAM. |
| 52 | |
| 53 | config KM_FDT_ADDR |
| 54 | hex "FDT Load Address" |
Aleksandar Gerasimovski | 032bdbc | 2021-02-22 18:18:11 +0000 | [diff] [blame] | 55 | default 0x82FC0000 if ARCH_LS1021A |
Holger Brunck | c7c7169 | 2020-10-09 17:21:32 +0200 | [diff] [blame] | 56 | default 0x2FC0000 |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 57 | help |
| 58 | Address where to load flattened device tree in RAM. |
| 59 | |
Aleksandar Gerasimovski | 032bdbc | 2021-02-22 18:18:11 +0000 | [diff] [blame] | 60 | config SYS_PAX_BASE |
| 61 | hex "PAX IFC Base Address" |
| 62 | default 0x78000000 |
| 63 | depends on ARCH_LS1021A |
| 64 | help |
| 65 | IFC Base Address for PAXx FPGA. |
| 66 | |
Aleksandar Gerasimovski | 3b24bbd | 2021-06-08 14:16:28 +0000 | [diff] [blame] | 67 | config SYS_CLIPS_BASE |
| 68 | hex "CLIPS IFC Base Address" |
| 69 | default 0x78000000 |
| 70 | depends on ARCH_LS1021A |
| 71 | help |
| 72 | IFC Base Address for CLIPS FPGA. |
| 73 | |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 74 | config KM_CONSOLE_TTY |
| 75 | string "KM Console" |
| 76 | default "ttyS0" |
| 77 | help |
| 78 | TTY console to use on board. |
| 79 | |
Holger Brunck | ac4eb2c | 2019-11-26 19:09:01 +0100 | [diff] [blame] | 80 | config KM_DEF_NETDEV |
| 81 | string "Default Netdevice" |
| 82 | default "eth0" |
| 83 | help |
| 84 | Default netdevice for debug interface |
| 85 | |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 86 | config KM_COMMON_ETH_INIT |
| 87 | bool "Common Ethernet Initialization" |
Trevor Woerner | bb7ab07 | 2020-05-06 08:02:40 -0400 | [diff] [blame] | 88 | default y if ARCH_KIRKWOOD || MPC83xx |
Aleksandar Gerasimovski | 032bdbc | 2021-02-22 18:18:11 +0000 | [diff] [blame] | 89 | default n if MPC85xx || ARCH_SOCFPGA || ARCH_LS1021A |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 90 | help |
Aleksandar Gerasimovski | 032bdbc | 2021-02-22 18:18:11 +0000 | [diff] [blame] | 91 | Use the Ethernet initialization implemented in common code that |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 92 | detects if a Piggy board is present. |
| 93 | |
Holger Brunck | e2cbc6e | 2019-11-25 17:24:13 +0100 | [diff] [blame] | 94 | config PIGGY_MAC_ADDRESS_OFFSET |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 95 | int "Piggy Address Offset" |
| 96 | default 0 |
| 97 | help |
| 98 | MAC address offset for the Piggy board. |
| 99 | |
| 100 | config KM_MVEXTSW_ADDR |
| 101 | hex "Marvell Switch Address" |
| 102 | depends on MV88E6352_SWITCH |
| 103 | default 0x10 |
| 104 | help |
| 105 | Address of external Marvell switch. |
| 106 | |
| 107 | config KM_IVM_BUS |
| 108 | int "IVM I2C Bus" |
Holger Brunck | ddef889 | 2020-02-19 19:55:14 +0100 | [diff] [blame] | 109 | default 0 if ARCH_SOCFPGA |
Aleksandar Gerasimovski | 032bdbc | 2021-02-22 18:18:11 +0000 | [diff] [blame] | 110 | default 1 if ARCH_KIRKWOOD || MPC85xx || ARCH_LS1021A |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 111 | default 2 if MPC83xx |
| 112 | help |
| 113 | Identifier number of I2C bus, where the inventory EEPROM is connected to. |
| 114 | |
| 115 | config SYS_IVM_EEPROM_ADR |
| 116 | hex "IVM I2C Address" |
| 117 | default 0x50 |
| 118 | help |
| 119 | I2C address of the EEPROM containing the inventory. |
| 120 | |
| 121 | config SYS_IVM_EEPROM_MAX_LEN |
| 122 | hex "IVM Length" |
| 123 | default 0x400 |
| 124 | help |
| 125 | Maximum length of inventory in EEPROM. |
| 126 | |
| 127 | config SYS_IVM_EEPROM_PAGE_LEN |
| 128 | hex "IVM Page Size" |
| 129 | default 0x100 |
| 130 | help |
| 131 | Page size of inventory in EEPROM. |
| 132 | |
Aleksandar Gerasimovski | 197b948 | 2021-12-10 11:07:53 +0100 | [diff] [blame] | 133 | config PG_WCOM_UBOOT_UPDATE_SUPPORTED |
| 134 | bool "Enable U-boot Field Fail-Safe Update Functionality" |
| 135 | default n |
| 136 | help |
| 137 | Indicates that field fail-safe u-boot update is supported. |
| 138 | This functionality works only for designs that are booting |
| 139 | from parallel NOR flash. |
| 140 | |
| 141 | config PG_WCOM_UBOOT_BOOTPACKAGE |
| 142 | bool "U-boot Is Part Of Factory Boot-Package Image" |
| 143 | default n |
| 144 | help |
| 145 | Indicates that u-boot will be a part of the factory programmed |
| 146 | boot-package image. |
| 147 | Has to be set for original u-boot programmed at factory. |
| 148 | |
| 149 | config PG_WCOM_UBOOT_UPDATE_TEXT_BASE |
| 150 | hex "Text Base For U-boot Programmed Outside Factory" |
| 151 | default 0xFFFFFFFF |
| 152 | help |
| 153 | Text base of an updated u-boot that is not factory programmed but |
| 154 | later when the unit is rolled out on the field. |
| 155 | Has to be set for original u-boot programmed at factory. |
| 156 | |
| 157 | config PG_WCOM_UBOOT_UPDATE |
| 158 | bool "U-boot Is Part Of Factory Boot-Package Image" |
| 159 | default n |
| 160 | help |
| 161 | Indicates that u-boot will be a part of the embedded software and |
| 162 | programmed at field. |
| 163 | Has to be set for updated u-boot version programmed at field. |
| 164 | |
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 165 | source "board/keymile/km83xx/Kconfig" |
Niel Fourie | db7241d | 2021-01-21 13:19:20 +0100 | [diff] [blame] | 166 | source "board/keymile/kmcent2/Kconfig" |
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 167 | source "board/keymile/km_arm/Kconfig" |
Aleksandar Gerasimovski | 032bdbc | 2021-02-22 18:18:11 +0000 | [diff] [blame] | 168 | source "board/keymile/pg-wcom-ls102xa/Kconfig" |
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 169 | |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 170 | endmenu |
| 171 | |
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 172 | endif |