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