blob: 32dae060f9edfa18dc5b1d9b5df4551aaa9039cc [file] [log] [blame]
George Hungc679ff62020-05-07 15:41:27 +08001KMACHINE = "nuvoton"
2KERNEL_DEVICETREE = "${KMACHINE}-npcm730-gbs.dtb"
3
4UBOOT_MACHINE = "PolegSVB_config"
5IGPS_MACHINE = "GBS"
6
7FLASH_SIZE = "32768"
8
9MACHINEOVERRIDES .= ":npcm7xx"
10
11require conf/machine/include/npcm7xx.inc
12require conf/machine/include/obmc-bsp-common.inc
13
14SERIAL_CONSOLES = "115200;ttyS0"
15
16OBMC_MACHINE_FEATURES += "\
17 obmc-phosphor-fan-mgmt \
18 obmc-phosphor-chassis-mgmt \
19 obmc-phosphor-flash-mgmt \
20 obmc-host-ipmi \
21 obmc-host-state-mgmt \
22 obmc-chassis-state-mgmt \
23 obmc-bmc-state-mgmt \
24 "
25
26VIRTUAL-RUNTIME_obmc-host-state-manager = "x86-power-control"
27VIRTUAL-RUNTIME_obmc-chassis-state-manager = "x86-power-control"
28VIRTUAL-RUNTIME_obmc-discover-system-state = "x86-power-control"
29
30PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-gbs-apps"
31PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-gbs-apps"
32PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-gbs-apps"
33PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs"
34PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "gbs-led-manager-config-native"
35
36# Remove unneeded binaries from image
37IMAGE_FEATURES_remove = "obmc-fan-control"
38IMAGE_FEATURES_remove = "obmc-software"
39IMAGE_FEATURES_remove = "obmc-debug-collector"
40IMAGE_FEATURES_remove = "obmc-net-ipmi"