blob: bd82e61c562b9d44fe91b9b0948c65ecac7f16d6 [file] [log] [blame]
KMACHINE = "aspeed"
KERNEL_DEVICETREE = "${KMACHINE}-bmc-ampere-${MACHINE}.dtb"
UBOOT_MACHINE = "ast_g5_phy_config"
require conf/machine/include/ast2500.inc
require conf/machine/include/obmc-bsp-common.inc
require conf/distro/include/phosphor-isolation.inc
require conf/distro/include/phosphor-aspeed-spi-master-mode.inc
# Reformat SPI flash layout to 64MB
FLASH_SIZE = "65536"
FLASH_UBOOT_OFFSET = "0"
FLASH_KERNEL_OFFSET = "1024"
FLASH_ROFS_OFFSET = "10240"
FLASH_RWFS_OFFSET = "43008"
OBMC_POWER_SUPPLY_INSTANCES = "0 1"
MACHINE_FEATURES += "\
obmc-phosphor-chassis-mgmt \
obmc-phosphor-flash-mgmt \
obmc-chassis-state-mgmt \
obmc-host-state-mgmt \
obmc-bmc-state-mgmt \
"
VOLATILE_LOG_DIR = "no"
OBMC_IMAGE_EXTRA_INSTALL:append = "\
mtjade-utils \
ampere-usbnet \
ampere-flash-utils \
ampere-mac-update \
mtjade-gpio-config \
mtd-utils \
ampere-platform-init \
ampere-ipmi-oem \
"
PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-ampere-apps"
PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-ampere-apps"
PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-hostfw-config ?= "hostboot-inventory-config-native"
PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "mtjade-led-manager-config-native"