blob: d5a6e7859c72b0b441dfd011889e56c56cf3f6c4 [file] [log] [blame]
George Hungc679ff62020-05-07 15:41:27 +08001KMACHINE = "nuvoton"
2KERNEL_DEVICETREE = "${KMACHINE}-npcm730-gbs.dtb"
3
George Hung705d71a2020-05-21 18:59:15 +08004UBOOT_MACHINE = "PolegSVB_spinor_minimal_config"
5UBOOT_DEVICETREE = "nuvoton-npcm730-gbs"
George Hungc679ff62020-05-07 15:41:27 +08006IGPS_MACHINE = "GBS"
7
George Hungc679ff62020-05-07 15:41:27 +08008MACHINEOVERRIDES .= ":npcm7xx"
9
10require conf/machine/include/npcm7xx.inc
11require conf/machine/include/obmc-bsp-common.inc
12
George Hung705d71a2020-05-21 18:59:15 +080013# Overwrite flash offsets
14FLASH_ROFS_OFFSET = "7296"
15FLASH_RWFS_OFFSET = "61440"
16FLASH_SIZE = "65536"
George Hungc679ff62020-05-07 15:41:27 +080017
18OBMC_MACHINE_FEATURES += "\
19 obmc-phosphor-fan-mgmt \
20 obmc-phosphor-chassis-mgmt \
21 obmc-phosphor-flash-mgmt \
22 obmc-host-ipmi \
23 obmc-host-state-mgmt \
24 obmc-chassis-state-mgmt \
25 obmc-bmc-state-mgmt \
26 "
27
28VIRTUAL-RUNTIME_obmc-host-state-manager = "x86-power-control"
29VIRTUAL-RUNTIME_obmc-chassis-state-manager = "x86-power-control"
30VIRTUAL-RUNTIME_obmc-discover-system-state = "x86-power-control"
31
32PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-gbs-apps"
33PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-gbs-apps"
34PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-gbs-apps"
35PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "phosphor-ipmi-kcs"
36PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "gbs-led-manager-config-native"
37
38# Remove unneeded binaries from image
39IMAGE_FEATURES_remove = "obmc-fan-control"
40IMAGE_FEATURES_remove = "obmc-software"
41IMAGE_FEATURES_remove = "obmc-debug-collector"
42IMAGE_FEATURES_remove = "obmc-net-ipmi"