blob: 6f54e383b86ed0fd7b7b34544ff44a50c8e14c08 [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"
George Hunge60f2ac2021-05-20 18:53:06 +080041PREFERRED_PROVIDER_virtual/bios-update = "gbs-bios-update"
George Hung9f17c412020-05-07 15:41:27 +080042
43# Remove unneeded binaries from image
44IMAGE_FEATURES_remove = "obmc-fan-control"
45IMAGE_FEATURES_remove = "obmc-software"
46IMAGE_FEATURES_remove = "obmc-debug-collector"
47IMAGE_FEATURES_remove = "obmc-net-ipmi"