1# SPDX-License-Identifier: GPL-2.0+ 2# 3# Copyright (C) 2019, Pascal Linder <pascal.linder@edu.hefr.ch> 4 5config VENDOR_KM 6 bool 7 help 8 Selected by any KM board to have additional configurations. 9 10if VENDOR_KM 11 12menu "KM Board Setup" 13 14config KM_PNVRAM 15 hex "Pseudo RAM" 16 default 0x80000 17 help 18 Start address of the pseudo non-volatile RAM for application. 19 20config KM_PHRAM 21 hex "Physical RAM" 22 default 0x17F000 if ARM 23 default 0x100000 if PPC 24 help 25 Start address of the physical RAM, which is the mounted /var folder. 26 27config KM_RESERVED_PRAM 28 hex "Reserved RAM" 29 default 0x801000 if KIRKWOOD 30 default 0x0 if MPC83xx 31 default 0x1000 if MPC85xx 32 help 33 Reserved physical RAM area at the end of memory for special purposes. 34 35config KM_CRAMFS_ADDR 36 hex "CRAMFS Address" 37 default 0x2400000 if KIRKWOOD 38 default 0xC00000 if MPC83xx 39 default 0x2000000 if MPC85xx 40 help 41 Start address of the CRAMFS containing the Linux kernel. 42 43config KM_KERNEL_ADDR 44 hex "Kernel Load Address" 45 default 0x2000000 if KIRKWOOD 46 default 0x400000 if MPC83xx 47 default 0x1000000 if MPC85xx 48 help 49 Address where to load Linux kernel in RAM. 50 51config KM_FDT_ADDR 52 hex "FDT Load Address" 53 default 0x23E0000 if KIRKWOOD 54 default 0xB80000 if MPC83xx 55 default 0x1F80000 if MPC85xx 56 help 57 Address where to load flattened device tree in RAM. 58 59config KM_CONSOLE_TTY 60 string "KM Console" 61 default "ttyS0" 62 help 63 TTY console to use on board. 64 65config KM_COMMON_ETH_INIT 66 bool "Common Ethernet Initialization" 67 default y if KIRKWOOD || MPC83xx 68 default n if MPC85xx 69 help 70 Use the Ethernet initialization implemented in common code, which 71 detects if a Piggy board is present. 72 73config PIGGY_MAC_ADRESS_OFFSET 74 int "Piggy Address Offset" 75 default 0 76 help 77 MAC address offset for the Piggy board. 78 79config KM_MVEXTSW_ADDR 80 hex "Marvell Switch Address" 81 depends on MV88E6352_SWITCH 82 default 0x10 83 help 84 Address of external Marvell switch. 85 86config KM_IVM_BUS 87 int "IVM I2C Bus" 88 default 1 if KIRKWOOD || MPC85xx 89 default 2 if MPC83xx 90 help 91 Identifier number of I2C bus, where the inventory EEPROM is connected to. 92 93config SYS_IVM_EEPROM_ADR 94 hex "IVM I2C Address" 95 default 0x50 96 help 97 I2C address of the EEPROM containing the inventory. 98 99config SYS_IVM_EEPROM_MAX_LEN 100 hex "IVM Length" 101 default 0x400 102 help 103 Maximum length of inventory in EEPROM. 104 105config SYS_IVM_EEPROM_PAGE_LEN 106 hex "IVM Page Size" 107 default 0x100 108 help 109 Page size of inventory in EEPROM. 110 111source "board/keymile/km83xx/Kconfig" 112source "board/keymile/kmp204x/Kconfig" 113source "board/keymile/km_arm/Kconfig" 114 115endmenu 116 117endif 118