blob: 6814e021245532569d14e559118594185508ae34 [file] [log] [blame]
George Hung9f17c412020-05-07 15:41:27 +08001KMACHINE = "nuvoton"
2KERNEL_DEVICETREE = "${KMACHINE}-npcm730-gbs.dtb"
3
George Hung5ccf3f22020-05-21 18:59:15 +08004UBOOT_MACHINE = "PolegSVB_spinor_minimal_config"
5UBOOT_DEVICETREE = "nuvoton-npcm730-gbs"
George Hung9f17c412020-05-07 15:41:27 +08006IGPS_MACHINE = "GBS"
7
George Hung9f17c412020-05-07 15:41:27 +08008MACHINEOVERRIDES .= ":npcm7xx"
9
10require conf/machine/include/npcm7xx.inc
11require conf/machine/include/obmc-bsp-common.inc
12
George Hung04fa7fa2021-05-18 20:44:34 +080013SERIAL_CONSOLES = "115200;ttyS0"
George Hunge0dab982021-03-09 13:39:42 +080014GBMC_NCSI_IF_NAME = "eth0"
Brandon Kim3f2570e2021-03-24 16:58:02 -070015GBMC_KCS_DEV = "ipmi-kcs1"
George Hunge0dab982021-03-09 13:39:42 +080016
George Hung5ccf3f22020-05-21 18:59:15 +080017# Overwrite flash offsets
George Hungcb9a2782021-04-28 10:47:52 +080018FLASH_ROFS_OFFSET = "7168"
19FLASH_RWFS_OFFSET = "62400"
George Hung5ccf3f22020-05-21 18:59:15 +080020FLASH_SIZE = "65536"
George Hung9f17c412020-05-07 15:41:27 +080021
22OBMC_MACHINE_FEATURES += "\
23 obmc-phosphor-fan-mgmt \
24 obmc-phosphor-chassis-mgmt \
25 obmc-phosphor-flash-mgmt \
26 obmc-host-ipmi \
27 obmc-host-state-mgmt \
28 obmc-chassis-state-mgmt \
29 obmc-bmc-state-mgmt \
30 "
31
32VIRTUAL-RUNTIME_obmc-host-state-manager = "x86-power-control"
33VIRTUAL-RUNTIME_obmc-chassis-state-manager = "x86-power-control"
34VIRTUAL-RUNTIME_obmc-discover-system-state = "x86-power-control"
35
36PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-gbs-apps"
37PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-gbs-apps"
38PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-gbs-apps"
Brandon Kim3f2570e2021-03-24 16:58:02 -070039PREFERRED_PROVIDER_virtual/obmc-host-ipmi-hw = "gbmc-kcs-config"
George Hung9f17c412020-05-07 15:41:27 +080040PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "gbs-led-manager-config-native"
41
42# Remove unneeded binaries from image
43IMAGE_FEATURES_remove = "obmc-fan-control"
44IMAGE_FEATURES_remove = "obmc-software"
45IMAGE_FEATURES_remove = "obmc-debug-collector"
46IMAGE_FEATURES_remove = "obmc-net-ipmi"