1# SPDX-License-Identifier:     GPL-2.0+
2#
3# Copyright (C) 2022 - 2023 PHYTEC Messtechnik GmbH
4# Author: Wadim Egorov <w.egorov@phytec.de>
5
6if TARGET_PHYCORE_AM62X_A53
7
8config SYS_BOARD
9       default "phycore_am62x"
10
11config SYS_VENDOR
12       default "phytec"
13
14config SYS_CONFIG_NAME
15       default "phycore_am62x"
16
17source "board/phytec/common/Kconfig"
18
19endif
20
21if TARGET_PHYCORE_AM62X_R5
22
23config SYS_BOARD
24       default "phycore_am62x"
25
26config SYS_VENDOR
27       default "phytec"
28
29config SYS_CONFIG_NAME
30       default "phycore_am62x"
31
32config SPL_LDSCRIPT
33	default "arch/arm/mach-omap2/u-boot-spl.lds"
34
35source "board/phytec/common/Kconfig"
36source "board/phytec/common/k3/Kconfig"
37
38endif
39
40config PHYCORE_AM62X_RAM_SIZE_FIX
41        bool "Set phyCORE-AM62x RAM size fix instead of detecting"
42        default false
43        help
44          RAM size is automatic being detected with the help of
45          the EEPROM introspection data. Set RAM size to a fix value
46          instead.
47
48choice
49        prompt "phyCORE-AM62x RAM size"
50        depends on PHYCORE_AM62X_RAM_SIZE_FIX
51        default PHYCORE_AM62X_RAM_SIZE_2GB
52
53config PHYCORE_AM62X_RAM_SIZE_1GB
54        bool "1GB RAM"
55        help
56          Set RAM size fix to 1GB for phyCORE-AM62x.
57
58config PHYCORE_AM62X_RAM_SIZE_2GB
59        bool "2GB RAM"
60        help
61          Set RAM size fix to 2GB for phyCORE-AM62x.
62
63config PHYCORE_AM62X_RAM_SIZE_4GB
64        bool "4GB RAM"
65        help
66          Set RAM size fix to 4GB for phyCORE-AM62x.
67
68endchoice
69