blob: 24190526249f60ee7dcd931dca17e63e15a311b6 [file] [log] [blame]
KMACHINE = "nuvoton"
KERNEL_DEVICETREE = "${KMACHINE}-npcm730-gbs.dtb"
UBOOT_MACHINE = "PolegSVB_spinor_minimal_config"
UBOOT_DEVICETREE = "nuvoton-npcm730-gbs"
IGPS_MACHINE = "GBS"
MACHINEOVERRIDES .= ":npcm7xx"
require conf/machine/include/npcm7xx.inc
require conf/machine/include/obmc-bsp-common.inc
GBMC_NCSI_IF_NAME = "eth0"
# Overwrite flash offsets
FLASH_ROFS_OFFSET = "7296"
FLASH_RWFS_OFFSET = "61440"
FLASH_SIZE = "65536"
OBMC_MACHINE_FEATURES += "\
obmc-phosphor-fan-mgmt \
obmc-phosphor-chassis-mgmt \
obmc-phosphor-flash-mgmt \
obmc-host-ipmi \
obmc-host-state-mgmt \
obmc-chassis-state-mgmt \
obmc-bmc-state-mgmt \
"
VIRTUAL-RUNTIME_obmc-host-state-manager = "x86-power-control"
VIRTUAL-RUNTIME_obmc-chassis-state-manager = "x86-power-control"
VIRTUAL-RUNTIME_obmc-discover-system-state = "x86-power-control"
PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-gbs-apps"
PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-gbs-apps"
PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-gbs-apps"
PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs"
PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "gbs-led-manager-config-native"
# Remove unneeded binaries from image
IMAGE_FEATURES_remove = "obmc-fan-control"
IMAGE_FEATURES_remove = "obmc-software"
IMAGE_FEATURES_remove = "obmc-debug-collector"
IMAGE_FEATURES_remove = "obmc-net-ipmi"