1# SPDX-License-Identifier:     GPL-2.0+
2#
3# Copyright (C) 2021 PHYTEC America, LLC - https://www.phytec.com
4# Author: Matt McKee <mmckee@phytec.com>
5#
6# Copyright (C) 2022 - 2024 PHYTEC Messtechnik GmbH
7# Author: Wadim Egorov <w.egorov@phytec.de>
8
9if TARGET_PHYCORE_AM64X_A53
10
11config SYS_BOARD
12       default "phycore_am64x"
13
14config SYS_VENDOR
15       default "phytec"
16
17config SYS_CONFIG_NAME
18       default "phycore_am64x"
19
20source "board/phytec/common/Kconfig"
21
22endif
23
24if TARGET_PHYCORE_AM64X_R5
25
26config SYS_BOARD
27       default "phycore_am64x"
28
29config SYS_VENDOR
30       default "phytec"
31
32config SYS_CONFIG_NAME
33       default "phycore_am64x"
34
35source "board/phytec/common/Kconfig"
36
37endif
38
39config PHYCORE_AM64X_RAM_SIZE_FIX
40        bool "Set phyCORE-AM64x RAM size fix instead of detecting"
41        default false
42        help
43          RAM size is automatic being detected with the help of
44          the EEPROM introspection data. Set RAM size to a fix value
45          instead.
46
47choice
48        prompt "phyCORE-AM64x RAM size"
49        depends on PHYCORE_AM64X_RAM_SIZE_FIX
50        default PHYCORE_AM64X_RAM_SIZE_2GB
51
52config PHYCORE_AM64X_RAM_SIZE_1GB
53        bool "1GB RAM"
54        help
55          Set RAM size fix to 1GB for phyCORE-AM64x.
56
57config PHYCORE_AM64X_RAM_SIZE_2GB
58        bool "2GB RAM"
59        help
60          Set RAM size fix to 2GB for phyCORE-AM64x.
61
62endchoice
63