2019-06-18 11:27:47 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
# Copyright (C) 2019, Pascal Linder <pascal.linder@edu.hefr.ch>
|
|
|
|
|
|
|
|
config VENDOR_KM
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Selected by any KM board to have additional configurations.
|
|
|
|
|
|
|
|
if VENDOR_KM
|
|
|
|
|
2019-07-09 07:28:20 +00:00
|
|
|
menu "KM Board Setup"
|
|
|
|
|
2022-10-29 00:26:54 +00:00
|
|
|
config SYS_I2C_INIT_BOARD
|
|
|
|
def_bool y if ARM
|
|
|
|
|
2022-05-12 20:12:16 +00:00
|
|
|
config HUSH_INIT_VAR
|
|
|
|
def_bool y
|
|
|
|
|
2019-07-09 07:28:20 +00:00
|
|
|
config KM_PNVRAM
|
|
|
|
hex "Pseudo RAM"
|
|
|
|
default 0x80000
|
2020-02-19 18:55:14 +00:00
|
|
|
depends on !ARCH_SOCFPGA
|
2019-07-09 07:28:20 +00:00
|
|
|
help
|
|
|
|
Start address of the pseudo non-volatile RAM for application.
|
|
|
|
|
|
|
|
config KM_PHRAM
|
|
|
|
hex "Physical RAM"
|
2021-02-22 18:18:11 +00:00
|
|
|
default 0x17F000 if ARM && !ARCH_LS1021A
|
|
|
|
default 0x100000 if PPC || ARCH_LS1021A
|
2020-02-19 18:55:14 +00:00
|
|
|
depends on !ARCH_SOCFPGA
|
2019-07-09 07:28:20 +00:00
|
|
|
help
|
|
|
|
Start address of the physical RAM, which is the mounted /var folder.
|
|
|
|
|
|
|
|
config KM_RESERVED_PRAM
|
|
|
|
hex "Reserved RAM"
|
|
|
|
default 0x0 if MPC83xx
|
2021-02-22 18:18:11 +00:00
|
|
|
default 0x1000 if MPC85xx || ARCH_LS1021A
|
2020-02-19 18:55:14 +00:00
|
|
|
depends on !ARCH_SOCFPGA
|
2019-07-09 07:28:20 +00:00
|
|
|
help
|
|
|
|
Reserved physical RAM area at the end of memory for special purposes.
|
|
|
|
|
|
|
|
config KM_CRAMFS_ADDR
|
|
|
|
hex "CRAMFS Address"
|
2021-02-22 18:18:11 +00:00
|
|
|
default 0x83000000 if ARCH_LS1021A
|
2020-10-09 15:21:32 +00:00
|
|
|
default 0x3000000
|
2020-02-19 18:55:14 +00:00
|
|
|
depends on !ARCH_SOCFPGA
|
2019-07-09 07:28:20 +00:00
|
|
|
help
|
|
|
|
Start address of the CRAMFS containing the Linux kernel.
|
|
|
|
|
|
|
|
config KM_KERNEL_ADDR
|
|
|
|
hex "Kernel Load Address"
|
2021-02-22 18:18:11 +00:00
|
|
|
default 0x82000000 if ARCH_LS1021A
|
2020-10-09 15:21:32 +00:00
|
|
|
default 0x2000000
|
2019-07-09 07:28:20 +00:00
|
|
|
help
|
|
|
|
Address where to load Linux kernel in RAM.
|
|
|
|
|
|
|
|
config KM_FDT_ADDR
|
|
|
|
hex "FDT Load Address"
|
2021-02-22 18:18:11 +00:00
|
|
|
default 0x82FC0000 if ARCH_LS1021A
|
2020-10-09 15:21:32 +00:00
|
|
|
default 0x2FC0000
|
2019-07-09 07:28:20 +00:00
|
|
|
help
|
|
|
|
Address where to load flattened device tree in RAM.
|
|
|
|
|
2021-02-22 18:18:11 +00:00
|
|
|
config SYS_PAX_BASE
|
|
|
|
hex "PAX IFC Base Address"
|
|
|
|
default 0x78000000
|
|
|
|
depends on ARCH_LS1021A
|
|
|
|
help
|
|
|
|
IFC Base Address for PAXx FPGA.
|
|
|
|
|
2021-06-08 14:16:28 +00:00
|
|
|
config SYS_CLIPS_BASE
|
|
|
|
hex "CLIPS IFC Base Address"
|
|
|
|
default 0x78000000
|
|
|
|
depends on ARCH_LS1021A
|
|
|
|
help
|
|
|
|
IFC Base Address for CLIPS FPGA.
|
|
|
|
|
2019-07-09 07:28:20 +00:00
|
|
|
config KM_COMMON_ETH_INIT
|
|
|
|
bool "Common Ethernet Initialization"
|
2022-12-02 17:22:41 +00:00
|
|
|
default y if MPC83xx
|
2021-02-22 18:18:11 +00:00
|
|
|
default n if MPC85xx || ARCH_SOCFPGA || ARCH_LS1021A
|
2019-07-09 07:28:20 +00:00
|
|
|
help
|
2021-02-22 18:18:11 +00:00
|
|
|
Use the Ethernet initialization implemented in common code that
|
2019-07-09 07:28:20 +00:00
|
|
|
detects if a Piggy board is present.
|
|
|
|
|
2019-11-25 16:24:13 +00:00
|
|
|
config PIGGY_MAC_ADDRESS_OFFSET
|
2019-07-09 07:28:20 +00:00
|
|
|
int "Piggy Address Offset"
|
|
|
|
default 0
|
|
|
|
help
|
|
|
|
MAC address offset for the Piggy board.
|
|
|
|
|
|
|
|
config KM_MVEXTSW_ADDR
|
|
|
|
hex "Marvell Switch Address"
|
|
|
|
depends on MV88E6352_SWITCH
|
|
|
|
default 0x10
|
|
|
|
help
|
|
|
|
Address of external Marvell switch.
|
|
|
|
|
|
|
|
config KM_IVM_BUS
|
|
|
|
int "IVM I2C Bus"
|
2020-02-19 18:55:14 +00:00
|
|
|
default 0 if ARCH_SOCFPGA
|
2022-12-02 17:22:42 +00:00
|
|
|
default 1 if PPC || ARCH_LS1021A
|
2019-07-09 07:28:20 +00:00
|
|
|
help
|
|
|
|
Identifier number of I2C bus, where the inventory EEPROM is connected to.
|
|
|
|
|
|
|
|
config SYS_IVM_EEPROM_ADR
|
|
|
|
hex "IVM I2C Address"
|
|
|
|
default 0x50
|
|
|
|
help
|
|
|
|
I2C address of the EEPROM containing the inventory.
|
|
|
|
|
|
|
|
config SYS_IVM_EEPROM_MAX_LEN
|
|
|
|
hex "IVM Length"
|
|
|
|
default 0x400
|
|
|
|
help
|
|
|
|
Maximum length of inventory in EEPROM.
|
|
|
|
|
|
|
|
config SYS_IVM_EEPROM_PAGE_LEN
|
|
|
|
hex "IVM Page Size"
|
|
|
|
default 0x100
|
|
|
|
help
|
|
|
|
Page size of inventory in EEPROM.
|
|
|
|
|
2021-12-10 10:07:53 +00:00
|
|
|
config PG_WCOM_UBOOT_UPDATE_SUPPORTED
|
2023-05-17 07:17:16 +00:00
|
|
|
bool "Enable U-Boot Field Fail-Safe Update Functionality"
|
2023-01-16 20:46:49 +00:00
|
|
|
select EVENT
|
2021-12-10 10:07:53 +00:00
|
|
|
help
|
|
|
|
Indicates that field fail-safe u-boot update is supported.
|
|
|
|
This functionality works only for designs that are booting
|
|
|
|
from parallel NOR flash.
|
|
|
|
|
|
|
|
config PG_WCOM_UBOOT_BOOTPACKAGE
|
2023-05-17 07:17:16 +00:00
|
|
|
bool "U-Boot Is Part Of Factory Boot-Package Image"
|
2021-12-10 10:07:53 +00:00
|
|
|
help
|
|
|
|
Indicates that u-boot will be a part of the factory programmed
|
|
|
|
boot-package image.
|
|
|
|
Has to be set for original u-boot programmed at factory.
|
|
|
|
|
|
|
|
config PG_WCOM_UBOOT_UPDATE_TEXT_BASE
|
2023-05-17 07:17:16 +00:00
|
|
|
hex "Text Base For U-Boot Programmed Outside Factory"
|
2021-12-10 10:07:53 +00:00
|
|
|
default 0xFFFFFFFF
|
|
|
|
help
|
|
|
|
Text base of an updated u-boot that is not factory programmed but
|
|
|
|
later when the unit is rolled out on the field.
|
|
|
|
Has to be set for original u-boot programmed at factory.
|
|
|
|
|
|
|
|
config PG_WCOM_UBOOT_UPDATE
|
2023-05-17 07:17:16 +00:00
|
|
|
bool "U-Boot Is Part Of Factory Boot-Package Image"
|
2021-12-10 10:07:53 +00:00
|
|
|
help
|
|
|
|
Indicates that u-boot will be a part of the embedded software and
|
|
|
|
programmed at field.
|
|
|
|
Has to be set for updated u-boot version programmed at field.
|
|
|
|
|
2019-06-18 11:27:47 +00:00
|
|
|
source "board/keymile/km83xx/Kconfig"
|
2021-01-21 12:19:20 +00:00
|
|
|
source "board/keymile/kmcent2/Kconfig"
|
2021-02-22 18:18:11 +00:00
|
|
|
source "board/keymile/pg-wcom-ls102xa/Kconfig"
|
2019-06-18 11:27:47 +00:00
|
|
|
|
2019-07-09 07:28:20 +00:00
|
|
|
endmenu
|
|
|
|
|
2019-06-18 11:27:47 +00:00
|
|
|
endif
|