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" |
| 23 | default 0x17F000 if ARM |
| 24 | default 0x100000 if PPC |
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 |
| 33 | default 0x1000 if MPC85xx |
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" |
Holger Brunck | c7c7169 | 2020-10-09 17:21:32 +0200 | [diff] [blame] | 40 | default 0x3000000 |
Holger Brunck | ddef889 | 2020-02-19 19:55:14 +0100 | [diff] [blame] | 41 | depends on !ARCH_SOCFPGA |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 42 | help |
| 43 | Start address of the CRAMFS containing the Linux kernel. |
| 44 | |
| 45 | config KM_KERNEL_ADDR |
| 46 | hex "Kernel Load Address" |
Holger Brunck | c7c7169 | 2020-10-09 17:21:32 +0200 | [diff] [blame] | 47 | default 0x2000000 |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 48 | help |
| 49 | Address where to load Linux kernel in RAM. |
| 50 | |
| 51 | config KM_FDT_ADDR |
| 52 | hex "FDT Load Address" |
Holger Brunck | c7c7169 | 2020-10-09 17:21:32 +0200 | [diff] [blame] | 53 | default 0x2FC0000 |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 54 | help |
| 55 | Address where to load flattened device tree in RAM. |
| 56 | |
| 57 | config KM_CONSOLE_TTY |
| 58 | string "KM Console" |
| 59 | default "ttyS0" |
| 60 | help |
| 61 | TTY console to use on board. |
| 62 | |
Holger Brunck | ac4eb2c | 2019-11-26 19:09:01 +0100 | [diff] [blame] | 63 | config KM_DEF_NETDEV |
| 64 | string "Default Netdevice" |
| 65 | default "eth0" |
| 66 | help |
| 67 | Default netdevice for debug interface |
| 68 | |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 69 | config KM_COMMON_ETH_INIT |
| 70 | bool "Common Ethernet Initialization" |
Trevor Woerner | bb7ab07 | 2020-05-06 08:02:40 -0400 | [diff] [blame] | 71 | default y if ARCH_KIRKWOOD || MPC83xx |
Holger Brunck | ddef889 | 2020-02-19 19:55:14 +0100 | [diff] [blame] | 72 | default n if MPC85xx || ARCH_SOCFPGA |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 73 | help |
| 74 | Use the Ethernet initialization implemented in common code, which |
| 75 | detects if a Piggy board is present. |
| 76 | |
Holger Brunck | e2cbc6e | 2019-11-25 17:24:13 +0100 | [diff] [blame] | 77 | config PIGGY_MAC_ADDRESS_OFFSET |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 78 | int "Piggy Address Offset" |
| 79 | default 0 |
| 80 | help |
| 81 | MAC address offset for the Piggy board. |
| 82 | |
| 83 | config KM_MVEXTSW_ADDR |
| 84 | hex "Marvell Switch Address" |
| 85 | depends on MV88E6352_SWITCH |
| 86 | default 0x10 |
| 87 | help |
| 88 | Address of external Marvell switch. |
| 89 | |
| 90 | config KM_IVM_BUS |
| 91 | int "IVM I2C Bus" |
Holger Brunck | ddef889 | 2020-02-19 19:55:14 +0100 | [diff] [blame] | 92 | default 0 if ARCH_SOCFPGA |
Trevor Woerner | bb7ab07 | 2020-05-06 08:02:40 -0400 | [diff] [blame] | 93 | default 1 if ARCH_KIRKWOOD || MPC85xx |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 94 | default 2 if MPC83xx |
| 95 | help |
| 96 | Identifier number of I2C bus, where the inventory EEPROM is connected to. |
| 97 | |
| 98 | config SYS_IVM_EEPROM_ADR |
| 99 | hex "IVM I2C Address" |
| 100 | default 0x50 |
| 101 | help |
| 102 | I2C address of the EEPROM containing the inventory. |
| 103 | |
| 104 | config SYS_IVM_EEPROM_MAX_LEN |
| 105 | hex "IVM Length" |
| 106 | default 0x400 |
| 107 | help |
| 108 | Maximum length of inventory in EEPROM. |
| 109 | |
| 110 | config SYS_IVM_EEPROM_PAGE_LEN |
| 111 | hex "IVM Page Size" |
| 112 | default 0x100 |
| 113 | help |
| 114 | Page size of inventory in EEPROM. |
| 115 | |
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 116 | source "board/keymile/km83xx/Kconfig" |
| 117 | source "board/keymile/kmp204x/Kconfig" |
| 118 | source "board/keymile/km_arm/Kconfig" |
| 119 | |
Pascal Linder | ae01e1a | 2019-07-09 09:28:20 +0200 | [diff] [blame] | 120 | endmenu |
| 121 | |
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 122 | endif |