1KMACHINE = "aspeed"
2KERNEL_DEVICETREE = "${KMACHINE}-bmc-ampere-${MACHINE}.dtb"
3UBOOT_MACHINE = "ast_g5_phy_config"
4
5require conf/machine/include/ast2500.inc
6require conf/machine/include/obmc-bsp-common.inc
7require conf/distro/include/phosphor-isolation.inc
8
9# Reformat SPI flash layout to 64MB
10FLASH_SIZE = "65536"
11FLASH_UBOOT_OFFSET  = "0"
12FLASH_KERNEL_OFFSET = "1024"
13FLASH_ROFS_OFFSET   = "10240"
14FLASH_RWFS_OFFSET   = "43008"
15
16OBMC_POWER_SUPPLY_INSTANCES = "0 1"
17
18OBMC_MACHINE_FEATURES += "\
19        obmc-phosphor-chassis-mgmt \
20        obmc-phosphor-flash-mgmt \
21        obmc-chassis-state-mgmt \
22        obmc-host-state-mgmt \
23        obmc-bmc-state-mgmt \
24        "
25
26VOLATILE_LOG_DIR = "no"
27
28OBMC_IMAGE_EXTRA_INSTALL:append = "\
29                                   mtjade-utils \
30                                   ampere-usbnet \
31                                   ampere-flash-utils \
32                                   ampere-mac-update \
33                                   mtjade-gpio-config \
34                                   mtd-utils \
35                                  "
36
37PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-ampere-apps"
38PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-ampere-apps"
39PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-ampere-apps"
40PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= "hostboot-inventory-config-native"
41PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "mtjade-led-manager-config-native"
42